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