From d57ef1c1854f770d60940f42e9fa0d1a83b4aa35 Mon Sep 17 00:00:00 2001 From: Francesco Siddi Date: Mon, 23 Jun 2014 14:47:15 +0200 Subject: [PATCH] Tweaks to submission form --- blender-bfct/application/controllers/main.py | 2 +- blender-bfct/application/templates/apply.html | 21 +++---------------- .../application/templates/my_application.html | 4 ++-- 3 files changed, 6 insertions(+), 21 deletions(-) diff --git a/blender-bfct/application/controllers/main.py b/blender-bfct/application/controllers/main.py index ca03df1..b645ebd 100644 --- a/blender-bfct/application/controllers/main.py +++ b/blender-bfct/application/controllers/main.py @@ -51,7 +51,7 @@ def apply(): blender_id=current_user.id, website=form.website.data, city_country=form.city_country.data, - teaching=form.teaching.data, + institution_name=form.institution_name.data, video_example=form.video_example.data, written_example=form.written_example.data, portfolio_cv=form.portfolio_cv.data, diff --git a/blender-bfct/application/templates/apply.html b/blender-bfct/application/templates/apply.html index 66363e1..b1fcdbe 100755 --- a/blender-bfct/application/templates/apply.html +++ b/blender-bfct/application/templates/apply.html @@ -30,17 +30,10 @@
-
-
- -
- -
+ Are you currently teaching at a university?
-
+
{{ form.institution_name(class="form-control", placeholder="School or Institution's name") }}
@@ -49,7 +42,7 @@
- A set of essential skills is required to be + A set of essential skills is required
@@ -124,11 +117,3 @@
{% endblock %} - -{% block footer_scripts %} - -{% endblock %} diff --git a/blender-bfct/application/templates/my_application.html b/blender-bfct/application/templates/my_application.html index b9bdc3f..2421273 100755 --- a/blender-bfct/application/templates/my_application.html +++ b/blender-bfct/application/templates/my_application.html @@ -16,13 +16,13 @@ {{application.show_pretty_date('submission')}} You submitted your application - {% if application.show_pretty_date('review_start') %} + {% if application.review_start_date %} {{application.show_pretty_date('review_start')}} Application review started {% endif%} - {% if application.show_pretty_date('review_end') %} + {% if application.review_end_date %} {{application.show_pretty_date('review_end')}} Application review ended