feat(inventory): Add edit button

This commit is contained in:
sinavir 2024-07-04 20:48:10 +02:00
parent c01ed7cb47
commit ec014351f5

View file

@ -35,6 +35,11 @@
Générer un QR-code Générer un QR-code
</a> </a>
{% endif %} {% endif %}
{% if perms.inventory.change_game %}
<a class="button" href="{% url "admin:inventory_game_change" game.id %}">
Éditer l'outil
</a>
{% endif %}
<h2 id="description">Description</h2> <h2 id="description">Description</h2>
{{ object.description|linebreaks }} {{ object.description|linebreaks }}