Skip to content
This repository has been archived by the owner on Oct 27, 2022. It is now read-only.

Commit

Permalink
Merge pull request #59 from praekelt/feature/template-adjustment
Browse files Browse the repository at this point in the history
Update template classes
  • Loading branch information
Mitso committed Feb 24, 2017
2 parents 5c4511c + 24d76d1 commit 53f304b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 16 deletions.
2 changes: 1 addition & 1 deletion molo/profiles/templates/profiles/done.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ <h4 class="heading heading--subtitle">
{% trans "Thank you for joining!" %}
</h4>
<div class="profiles">
<p>{% trans "Let us know your birthday to get access to exclusive content." %}</p>
<p class="profiles__description">{% trans "Let us know your birthday to get access to exclusive content." %}</p>
<form method="post" action="{% url "molo.profiles:registration_done" %}" class="profiles__form">
{% csrf_token %}
<fieldset>
Expand Down
2 changes: 1 addition & 1 deletion molo/profiles/templates/profiles/editprofile.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
{% endif %}

{% if settings.profiles.UserProfilesSettings.show_email_field %}
</fieldset>
<fieldset>
<label for="id_email">{% trans "Update your email address:" %}</label>
{{ form.email.errors }}
{{ form.email}}
Expand Down
24 changes: 10 additions & 14 deletions molo/profiles/templates/profiles/forgot_password.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,17 @@ <h1 class="heading heading--profiles">
{% endfor %}
</ul>
{% endif %}
<fieldset>
{% for field in form %}
<label>{% trans field.label_tag %}</label>
{{ field }}
{% if forloop.counter == 1 %}
<h4 class="heading heading--feeback-title">{% trans "Security question" %}</h4>
<p>{% trans "Please answer the following security question." %}</p>
{% endif %}
{% endfor %}
</fieldset>


{% for field in form %}
<fieldset>
<label>{% trans field.label_tag %}</label>
{{ field }}
</fieldset>
<fieldset>
{% if forloop.counter == 1 %}
<!--Seperate the username from the security questions by the heading below-->
<h4 class="heading heading--feeback-title">{% trans "Security question" %}</h4>
<p>{% trans "Please answer the following security question." %}</p>
{% endif %}
{% endfor %}
</fieldset>
<input type="submit" value='{% trans "Forgot PIN" %}' />
</form>
</div>
Expand Down

0 comments on commit 53f304b

Please sign in to comment.