Fix: menu édition groupes (contrib. C. Martin)

This commit is contained in:
Emmanuel Viennet 2021-11-19 15:19:54 +01:00
parent 5b534abf5f
commit bfd60ffce4

View File

@ -26,7 +26,11 @@ href="{{ url_for('scolar.groups_auto_repartition', scodoc_dept=g.scodoc_dept, pa
value="Annuler" />    Éditer groupes de value="Annuler" />    Éditer groupes de
<select name="other_partition_id" onchange="GotoAnother();"> <select name="other_partition_id" onchange="GotoAnother();">
{% for p in partitions_list %} {% for p in partitions_list %}
<option value="{{ p['id'] }}" {{"selected" if p["partition_id"] == partition_id }}>{{p["partition_name"]}}</option> <option value="{{ p['id'] }}" {{
"selected" if p['partition_id'] == partition['partition_id']
}}>{{
p["partition_name"]
}}</option>
{% endfor %} {% endfor %}
</select> </select>
</form> </form>