diff --git a/app/scodoc/sco_moduleimpl_status.py b/app/scodoc/sco_moduleimpl_status.py index fd062f64d3..cb78688f58 100644 --- a/app/scodoc/sco_moduleimpl_status.py +++ b/app/scodoc/sco_moduleimpl_status.py @@ -128,8 +128,9 @@ def moduleimpl_evaluation_menu(evaluation_id, nbnotes=0, REQUEST=None): "args": { "evaluation_id": evaluation_id, }, - "enabled": nbnotes == 0 - and sco_permissions_check.can_edit_notes(current_user, E["moduleimpl_id"]), + "enabled": sco_permissions_check.can_edit_notes( + current_user, E["moduleimpl_id"] + ), }, { "title": "Absences ce jour", diff --git a/app/scodoc/sco_placement.py b/app/scodoc/sco_placement.py index 5df8976df6..ab9777b44f 100644 --- a/app/scodoc/sco_placement.py +++ b/app/scodoc/sco_placement.py @@ -107,7 +107,10 @@ class PlacementForm(FlaskForm): batiment = StringField("Batiment") salle = StringField("Salle") nb_rangs = SelectField( - "nb_rangs", coerce=int, choices=[3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14] + "nb de places en largeur", + coerce=int, + choices=[3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14], + description="largeur de la salle, en nombre de places", ) etiquetage = RadioField( "Numérotation", diff --git a/app/templates/scodoc/forms/placement.html b/app/templates/scodoc/forms/placement.html index f2c11b159f..5d2c3c2057 100644 --- a/app/templates/scodoc/forms/placement.html +++ b/app/templates/scodoc/forms/placement.html @@ -1,34 +1,34 @@ {% import 'bootstrap/wtf.html' as wtf %} {% macro render_field(field) %} -
+ + + +