2024-01-19 17:06:01 +01:00
|
|
|
<select name="moduleimpl_select" id="moduleimpl_select">
|
|
|
|
|
2024-06-27 19:13:39 +02:00
|
|
|
{% if not no_default %}
|
|
|
|
{% with moduleimpl_id=moduleimpl_id %}
|
|
|
|
{% include "assiduites/widgets/simplemoduleimpl_select.j2" %}
|
|
|
|
{% endwith %}
|
|
|
|
{% else %}
|
|
|
|
<option value="">Pas de filtre</option>
|
|
|
|
{% endif %}
|
2024-01-19 17:06:01 +01:00
|
|
|
|
|
|
|
{% for cat, mods in choices.items() %}
|
|
|
|
<optgroup label="{{cat}}">
|
|
|
|
{% for mod in mods %}
|
|
|
|
{% if mod.moduleimpl_id == moduleimpl_id %}
|
|
|
|
<option value="{{mod.moduleimpl_id}}" selected> {{mod.name}} </option>
|
|
|
|
{% else %}
|
|
|
|
<option value="{{mod.moduleimpl_id}}"> {{mod.name}} </option>
|
|
|
|
{% endif %}
|
|
|
|
{% endfor %}
|
|
|
|
</optgroup>
|
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
|
|
|
|
</select>
|