EditionPN/app/templates/PN.html

29 lines
738 B
HTML
Raw Permalink Normal View History

2021-05-06 10:26:28 +02:00
{% extends "form.html" %}
{% block title %}PN Form{% endblock %}
{% block form_title %}Formulaire de Programmes Nationaux (PN){% endblock %}
{% block formulaire %}
{{ render_field(form.code,"input") }}
{{ render_field(form.nom,"input") }}
{{ render_field(form.diminutif,"input") }}
{{ render_field(form.description,"textarea") }}
<div class="field">
<label class="label">{{ form.type.label }}</label>
<div class="control">
{% for num in form.type %}
<label class="radio">
{{ num(class="radio") }}
{{ num.label }}
</label>
{% endfor %}
</div>
{% for error in form.type.errors %}
<p class="help is-danger">{{error}}</p>
{% endfor %}
</div>
{% endblock %}