From e1ff6687ae127844862a30b9a966c75587b0cfcd Mon Sep 17 00:00:00 2001 From: Francesco Siddi Date: Tue, 15 Jul 2014 20:27:08 +0200 Subject: [PATCH] Added CKEditor minimal input to application form Still needs some tweaks with the tooltip. --- .../templates/applications/view.html | 2 +- blender-bfct/application/templates/apply.html | 26 ++++++++++++++----- 2 files changed, 20 insertions(+), 8 deletions(-) diff --git a/blender-bfct/application/templates/applications/view.html b/blender-bfct/application/templates/applications/view.html index 56ad530..12f3682 100755 --- a/blender-bfct/application/templates/applications/view.html +++ b/blender-bfct/application/templates/applications/view.html @@ -5,7 +5,7 @@

{{application.user.first_name}} {{application.user.last_name}}

{{application.city_country}}

-

{{application.bio_message}}

+

{{application.bio_message|safe}}

diff --git a/blender-bfct/application/templates/apply.html b/blender-bfct/application/templates/apply.html index 0e3b1d0..b3d131f 100755 --- a/blender-bfct/application/templates/apply.html +++ b/blender-bfct/application/templates/apply.html @@ -8,23 +8,23 @@

{{ form.hidden_tag() }} -
+
{{ form.network_profile(class='form-control', placeholder='e.g. http://blendernetwork.org/') }} -
+
-
+
{{ form.website(class='form-control', placeholder='e.g. http://www.yourname.me') }} -
+
-
+
{{ form.city_country(class='form-control', placeholder='Where do you currently live/teach?') }} -
+

@@ -108,7 +108,7 @@
- {{ form.bio_message(class='form-control', placeholder='Tell us a bit about yourself and why you want to be a BFCT') }} + {{ form.bio_message(class='form-control', id='editor1', placeholder='Tell us a bit about yourself and why you want to be a BFCT') }}
@@ -138,4 +138,16 @@
+ +{% endblock %} + +{% block footer_scripts %} + + + {% endblock %}