Added agenda 'edit' button in view template.

This commit is contained in:
Emanuel Schuetze 2012-04-29 20:47:54 +02:00
parent 2186561b6e
commit 3a0d243a6c

View File

@ -13,4 +13,11 @@
<p>{{ item.comment|linebreaks }}</p> <p>{{ item.comment|linebreaks }}</p>
{% endif %} {% endif %}
<p>
<a href='{% url item_edit item.id %}'>
<button class="button" type="button" onclick="window.location='{% url item_edit item.id %}'">
<span class="icon edit">{%trans 'Edit agenda item' %}</span>
</button>
</a>
</p>
{% endblock %} {% endblock %}