29 lines
738 B
HTML
29 lines
738 B
HTML
|
{% 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 %}
|