column-name.html 543 Bytes
Newer Older
1
{% load i18n %}
2 3 4 5

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