Skip to content
Snippets Groups Projects
Commit afebb22a authored by Andrea Callia D'Iddio's avatar Andrea Callia D'Iddio
Browse files

Fix: fix style issues

parent 5406146c
No related branches found
No related tags found
1 merge request!15Feat: support new fields for meeting mode, proposed start date and duration.
Pipeline #373044 failed
...@@ -166,7 +166,7 @@ def edit_project(project_id): ...@@ -166,7 +166,7 @@ def edit_project(project_id):
shortlist_proposer(project) shortlist_proposer(project)
return redirect(url_for("staff.projects")) return redirect(url_for("staff.projects"))
form = ProjectForm(obj=project) form = ProjectForm(obj=project)
form.meeting_mode.data = "remote" if project.is_remote == True else "" form.meeting_mode.data = "remote" if project.is_remote is True else ""
form.category.choices = [(c.code, c.name) for c in categories] form.category.choices = [(c.code, c.name) for c in categories]
if project.on_behalf is not None: if project.on_behalf is not None:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment