Commit b3f9a0e9dba6ea6d9acb1e8914e753efab9b94e5

Authored by Gustavo Lopes
1 parent 4011e26b

Modified forget password buttons

Showing 1 changed file with 6 additions and 6 deletions   Show diff stats
users/templates/users/forgot_password.html
@@ -40,16 +40,16 @@ @@ -40,16 +40,16 @@
40 <p>{% trans 'Enter your email below (the one used to access the platform) to recover your password' %}</p> 40 <p>{% trans 'Enter your email below (the one used to access the platform) to recover your password' %}</p>
41 </div> 41 </div>
42 </div> 42 </div>
43 - 43 +
44 <form id="form-reset" method="post" action=""> 44 <form id="form-reset" method="post" action="">
45 {% csrf_token %} 45 {% csrf_token %}
46 {% for field in form %} 46 {% for field in form %}
47 <div class="col-lg-10 col-md-10 col-sm-10 col-lg-offset-1 col-md-offset-1 col-sm-offset-1"> 47 <div class="col-lg-10 col-md-10 col-sm-10 col-lg-offset-1 col-md-offset-1 col-sm-offset-1">
48 <div class="form-group{% if form.has_error %} has-error {% endif %}"> 48 <div class="form-group{% if form.has_error %} has-error {% endif %}">
49 {% render_field field class='form-control' %} 49 {% render_field field class='form-control' %}
50 - 50 +
51 <span id="helpBlock" class="help-block">{{ field.help_text }}</span> 51 <span id="helpBlock" class="help-block">{{ field.help_text }}</span>
52 - 52 +
53 {% if field.errors %} 53 {% if field.errors %}
54 <div class="alert alert-danger alert-dismissible" role="alert"> 54 <div class="alert alert-danger alert-dismissible" role="alert">
55 <button type="button" class="close" data-dismiss="alert" aria-label="Close"> 55 <button type="button" class="close" data-dismiss="alert" aria-label="Close">
@@ -68,10 +68,10 @@ @@ -68,10 +68,10 @@
68 </form> 68 </form>
69 <div class="row"> 69 <div class="row">
70 <div class="col-lg-10 col-md-10 col-sm-10 col-lg-offset-1 col-md-offset-1 col-sm-offset-1"> 70 <div class="col-lg-10 col-md-10 col-sm-10 col-lg-offset-1 col-md-offset-1 col-sm-offset-1">
71 - <div class="col-md-6 col-xs-6 col-sm-6 col-lg-6 text-center"> 71 + <div class="col-md-6 col-xs-12 col-sm-12 col-lg-6 text-center">
72 <button type="submit" class="btn btn-success btn-raised btn-block" form="form-reset" style="position: initial;"> {% trans 'Recover' %} </button> 72 <button type="submit" class="btn btn-success btn-raised btn-block" form="form-reset" style="position: initial;"> {% trans 'Recover' %} </button>
73 </div> 73 </div>
74 - <div class="col-md-6 col-xs-6 col-sm-6 col-lg-6 text-center"> 74 + <div class="col-md-6 col-xs-12 col-sm-12 col-lg-6 text-center">
75 <a class="btn btn-default btn-raised btn-block" href="{% url 'users:login' %}" formaction="#" style="position: initial;">{% trans 'Back' %}</a> 75 <a class="btn btn-default btn-raised btn-block" href="{% url 'users:login' %}" formaction="#" style="position: initial;">{% trans 'Back' %}</a>
76 </div> 76 </div>
77 </div> 77 </div>
@@ -83,4 +83,4 @@ @@ -83,4 +83,4 @@
83 {% endblock %} 83 {% endblock %}
84 84
85 {% block bottommenu %} 85 {% block bottommenu %}
86 -{% endblock %}  
87 \ No newline at end of file 86 \ No newline at end of file
  87 +{% endblock %}