{% load i18n %}

<div id="exam-list-rename">
  <form action="{% url "dashboard.views.exam-detail" pk=record.pk %}" method="POST" id="exam-list-rename-form">
    {% csrf_token %}
    <input id="exam-list-rename-name" class="form-control input-sm" name="new_name" type="text" value="{{ record.name }}"/>
    <button type="submit" class="exam-list-rename-submit btn btn-sm">{% trans "Rename" %}</button>
  </form>
</div>
<div class="exam-list-column-name">
  <a class="real-link" href="{% url "dashboard.views.exam-detail" pk=record.pk %}">{{ record.name }}</a>
</div>
