feat: Make use of footer items
This commit is contained in:
parent
eff1ba6513
commit
9950e87501
@ -28,9 +28,9 @@
|
|||||||
</div>
|
</div>
|
||||||
<!--- Assume a user does not have edit permissions on animal if they have no other edit permission --->
|
<!--- Assume a user does not have edit permissions on animal if they have no other edit permission --->
|
||||||
{% if has_edit_permission %}
|
{% if has_edit_permission %}
|
||||||
<div class="container-edit-buttons">
|
<div class="card-footer">
|
||||||
<a class="button" href="{% url 'animal-edit' animal_id=animal.pk %}">{% translate 'Bearbeiten' %}</a>
|
<a class="card-footer-item button" href="{% url 'animal-edit' animal_id=animal.pk %}">{% translate 'Bearbeiten' %}</a>
|
||||||
<a class="button"
|
<a class="card-footer-item button"
|
||||||
href="{% url 'animal-add-photo' animal_id=animal.pk %}">{% translate 'Foto hinzufügen' %}</a>
|
href="{% url 'animal-add-photo' animal_id=animal.pk %}">{% translate 'Foto hinzufügen' %}</a>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user