Rework button tag

This commit is contained in:
2020-09-30 09:08:25 +01:00
parent f70421b8ca
commit acf814e49e
5 changed files with 14 additions and 11 deletions

View File

@@ -1,10 +1,10 @@
{% load button from filters %}
<div class="btn-group py-3">
{% button 'event_update' event.pk 'edit' %}
{% button 'edit' 'event_update' event.pk %}
{% if event.is_rig %}
{% button 'event_print' event.pk 'print' %}
{% button 'print' 'event_print' event.pk %}
{% endif %}
{% button 'event_duplicate' event.pk 'duplicate' %}
{% button 'duplicate' 'event_duplicate' event.pk %}
{% if event.is_rig %}
{% if event.internal %}
<a class="btn item-add modal-href event-authorise-request