comparison templates/sat_website/thank_you.html @ 57:bfa8009f0769

improve the subscription form
author souliane <souliane@mailoo.org>
date Thu, 14 May 2015 22:46:57 +0200
parents 1a0f24401866
children
comparison
equal deleted inserted replaced
56:01e9c646999f 57:bfa8009f0769
25 {% load utils %} 25 {% load utils %}
26 26
27 {% block headline %}{% trans "Thank you!" %}{% endblock %} 27 {% block headline %}{% trans "Thank you!" %}{% endblock %}
28 {% block main_container %} 28 {% block main_container %}
29 29
30 <p>{% trans "Your subscription has been registered." %}</p> 30 <div class="alert alert-info" role="alert">
31 <div class="form-group"> 31 {% trans "Below a copy of the email we just sent to you." %}
32 {% for label, value in form.results %} 32 {% if form.subscription_amount.value != "0" %}
33 <div>{{ label }}: {{ value }}</div> 33 {% trans "Please read it carefully, it contains the information to complete your subscription." %}
34 {% endfor %} 34 {% endif %}
35 </div> 35 </div>
36 36
37 <div class="alert alert-info" role="alert"> 37 <div class="container">
38 {% if form.subscription_amount.value != "0" %} 38 {{ form.prepareResultForUser|urlize|linebreaks }}
39 {% blocktrans with amount=form.subscription_amount.value method=form.payment_method|selected_label|lower %}
40 You chose to pay your annual subscription of {{ amount }} € via {{ method }}.<br/>You should receive in a couple of minutes an email from us containing all the details to proceed with the payment.
41 {% endblocktrans %}
42 {% else %}
43 {% blocktrans %}You should receive in a couple of minutes a confirmation email from us.{% endblocktrans %}
44 {% endif %}
45 </div> 39 </div>
46 40
47 {% endblock %} 41 {% endblock %}