aemo_fr/templates/aemo/rapport_edit.html

26 lines
890 B
HTML
Raw Permalink Normal View History

2024-06-03 16:49:01 +02:00
{% extends "base.html" %}
{% load my_tags %}
{% block content %}
<div class="row border-bottom mt-3 mb-3">
<div class="col"><p class="lead">Édition de résumé pour la famille {{ form.instance.famille }}</p></div>
</div>
<div class="row justify-content-center">
<div class="col-10">
<form action="." method="post">
{% csrf_token %}
{{ form.non_field_errors }}
{% for field in form %}
<div>
{{ field.label_tag }} {{ field.errors }}
{% if field.field.disabled %}{% get_field_value form.instance field.name|safe %}
{% else %}{{ field }}{% endif %}
</div>
{% endfor %}
{% include 'actions.html' %}
</form>
</div>
</div>
{% endblock %}