Skip to content
Snippets Groups Projects
Commit 81223e51 authored by Camille Simiand's avatar Camille Simiand
Browse files

Improve CSS

parent 37801973
Branches
Tags
1 merge request!23Tuleap 47 reset my password
...@@ -8,8 +8,13 @@ ...@@ -8,8 +8,13 @@
{% endfor %} {% endfor %}
<h1 class="m-auto mb-4 mt-4 col-6">Reset your password</h1> <h1 class="m-auto mb-4 mt-4 col-6">Reset your password</h1>
{{ form_start(requestForm, {'attr': {'class': 'd-flex flex-column justify-content-center'}}) }} <div class="d-flex flex-column justify-content-center">
{{ form_row(requestForm.email, {'row_attr': {'class' : 'm-auto mb-2 mt-4 col-6'}}) }}
{{ form_start(requestForm, {'attr': {novalidate: 'novalidate'}}) }}
<div class="m-auto mb-2 mt-4 col-6">
{{ form_row(requestForm.email) }}
</div>
<div class="m-auto mb-4 mt-4 col-6"> <div class="m-auto mb-4 mt-4 col-6">
<small> <small>
Enter your email address and we will send you a Enter your email address and we will send you a
...@@ -17,6 +22,9 @@ ...@@ -17,6 +22,9 @@
</small> </small>
</div> </div>
<button class="btn btn-primary m-auto mb-4 mt-4 col-2" type="submit">Reset password</button> <button class="d-flex flex-column btn btn-primary m-auto mt-2 mb-4 col-2" type="submit">Reset password</button>
{{ form_end(requestForm) }} {{ form_end(requestForm) }}
</div>
{% endblock %} {% endblock %}
...@@ -3,10 +3,17 @@ ...@@ -3,10 +3,17 @@
{% block title %}Reset your password{% endblock %} {% block title %}Reset your password{% endblock %}
{% block body %} {% block body %}
<h1>Reset your password</h1> <h1 class="m-auto mb-4 col-6">Reset your password</h1>
{{ form_start(resetForm) }} <div class="d-flex flex-column justify-content-center">
{{ form_start(resetForm, {'attr': {novalidate: 'novalidate'}}) }}
<div class="m-auto mb-4 col-6">
{{ form_row(resetForm.plainPassword) }} {{ form_row(resetForm.plainPassword) }}
<button class="btn btn-primary">Reset password</button> </div>
<button class="d-flex flex-column btn btn-primary m-auto mt-2 mb-4 col-2" type="submit">
Reset password
</button>
{{ form_end(resetForm) }} {{ form_end(resetForm) }}
</div>
{% endblock %} {% endblock %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment