Merge branch 'master' of https://scodoc.org/git/viennet/ScoDoc into PNBUT

This commit is contained in:
Emmanuel Viennet 2021-11-19 15:28:31 +01:00
commit 042d5080b2

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>