diff --git a/app/templates/project.html b/app/templates/project.html index 2c47ea9..5458331 100644 --- a/app/templates/project.html +++ b/app/templates/project.html @@ -91,10 +91,10 @@ {% endfor %} - {% for name, value in injectstyles %} {% endfor %} diff --git a/app/templates/project_add_get.html b/app/templates/project_add_get.html index 296df01..b9972ec 100644 --- a/app/templates/project_add_get.html +++ b/app/templates/project_add_get.html @@ -58,7 +58,7 @@ {% endfor %} - {% for name, value in injectstyles %} {% endfor %} diff --git a/app/views_project.py b/app/views_project.py index 5113cbf..0474d5c 100644 --- a/app/views_project.py +++ b/app/views_project.py @@ -112,6 +112,9 @@ def add_project(): source_style = request.form['source_style'] settings.source_style = SourceStyle[source_style] + inject_mode = request.form['inject_mode'] + settings.inject_mode = InjectStyle[inject_mode] + alloc_style = request.form['alloc_style'] settings.alloc_style = AllocStyle[alloc_style]