X-Git-Url: https://git.mdrn.pl/prawokultury.git/blobdiff_plain/3552318f888ebf2ab262ca435ec00eb706badadd..9861c362c3954eb985c5b65ccd9ad404abe93180:/prawokultury/templates/contact/register/form.html diff --git a/prawokultury/templates/contact/register/form.html b/prawokultury/templates/contact/register/form.html index a117e2b..c58cec5 100644 --- a/prawokultury/templates/contact/register/form.html +++ b/prawokultury/templates/contact/register/form.html @@ -1,9 +1,9 @@ {% extends "base.html" %} {% load i18n chunks %} -{% block "titleextra" %}{{ form.form_title }} :: {% endblock %} +{% block titleextra %}{{ form.form_title }} :: {% endblock %} -{% block "body" %} +{% block body %} <h1>{% block contact_form_title %}{{ form.form_title }}{% endblock %}</h1> @@ -31,7 +31,7 @@ {% for field in form.main_fields %} {% include "snippets/field_as_table_row.html" %} {% endfor %} - <tr><td colspan="2"><h3>{% trans "We would be grateful if you could answer our questions below. This will allow us to better adapt to your expectations in the future." %}</h3></td></tr> + <tr><td colspan="2"><h3>{# {% trans " #}We would be grateful if you could answer our questions below. This will allow us to better adapt to your expectations in the future.{# " %} #}</h3></td></tr> {% for field in form.survey_fields %} {% include "snippets/field_as_table_row.html" %} {% endfor %} @@ -45,6 +45,12 @@ {% endif %} {% endif %} -<script type="text/javascript" src="/static/js/prefill.js"></script> +<script type="text/javascript"> + var travelGrantCountries = [ + {% for country in form.travel_grant_countries %} + '{{ country }}'{% if not forloop.last %},{% endif %} + {% endfor %} + ]; +</script> {% endblock %}