forked from ScoDoc/DocScoDoc
Fix: menu édition groupes (contrib. C. Martin)
This commit is contained in:
parent
5b534abf5f
commit
bfd60ffce4
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user