Merge pull request #1112 from emanuelschuetze/template-fix

Minor template fix
This commit is contained in:
Norman Jäckel 2013-11-23 08:22:41 -08:00
commit ef6730f8bf

View File

@ -80,12 +80,10 @@
{% if perms.agenda.can_manage_agenda %} {% if perms.agenda.can_manage_agenda %}
<form id="coming_speakers_changed_form" action="{% url 'agenda_speaker_change_order' item.pk %}" method="post" style="display:none" class="alert alert-warning">{% csrf_token %} <form id="coming_speakers_changed_form" action="{% url 'agenda_speaker_change_order' item.pk %}" method="post" style="display:none" class="alert alert-warning">{% csrf_token %}
<button type="button" class="close" data-dismiss="alert">×</button> <button type="button" class="close" data-dismiss="alert">×</button>
<p>{% trans "Do you want to save the changed order of speakers?" %}</p> {% trans "Do you want to save the changed order of speakers?" %}<br>
<input id="sort_order" name="sort_order" type="hidden"></hidden> <input id="sort_order" name="sort_order" type="hidden"></hidden>
<p> <button class="btn btn-mini" type="submit">{% trans 'Yes' %}</button>
<button class="btn" type="submit">{% trans 'Yes' %}</button> <a href="{% url 'item_view' item.pk %}" class="btn btn-mini">{% trans 'No' %}</a>
<a href="{% url 'item_view' item.pk %}" class="btn">{% trans 'No' %}</a>
</p>
</form> </form>
{% endif %} {% endif %}