Semaine 11

This commit is contained in:
gauvainboiche
2026-07-11 21:38:00 +02:00
parent d3d2416dea
commit 0d071d2843
281 changed files with 54412 additions and 0 deletions
@@ -0,0 +1,13 @@
{% extends "parc/base.html" %}
{% block title %}{% if object %}Modifier{% else %}Ajouter{% endif %} un équipement{% endblock %}
{% block content %}
<h1>{% if object %}Modifier{% else %}Ajouter{% endif %} un équipement</h1>
<form method="post">
{% csrf_token %}
{{ form.as_p }}
<button type="submit" class="btn">Enregistrer</button>
<a class="btn btn-secondary" href="{% url 'equipment_list' %}">Annuler</a>
</form>
{% endblock %}