Skip to content
Snippets Groups Projects
Commit 8a509ecc authored by Patrick Jentsch's avatar Patrick Jentsch
Browse files

Layout update

parent 93b67cb2
No related branches found
No related tags found
No related merge requests found
...@@ -6,13 +6,6 @@ ...@@ -6,13 +6,6 @@
<form method="POST"> <form method="POST">
<div class="card-content"> <div class="card-content">
{{ form.hidden_tag() }} {{ form.hidden_tag() }}
<div class="input-field">
{{ form.email(class='validate', type='email') }}
{{ form.email.label }}
{% for error in form.email.errors %}
<span class="helper-text" style="color:red;">{{ error }}</span>
{% endfor %}
</div>
<div class="input-field"> <div class="input-field">
{{ form.password(class='validate', type='password') }} {{ form.password(class='validate', type='password') }}
{{ form.password.label }} {{ form.password.label }}
......
...@@ -13,16 +13,15 @@ ...@@ -13,16 +13,15 @@
{{ form.hidden_tag() }} {{ form.hidden_tag() }}
<div class="input-field "> <div class="input-field ">
<i class="material-icons prefix">email</i> <i class="material-icons prefix">email</i>
{{ form.email(type='email', placeholder=current_user.email) }} {{ form.email(type='email', value=current_user.email) }}
{{ form.email.label }} {{ form.email.label }}
<span class="helper-text" data-error="wrong" data-success="right">When changing your e-mail adress you will have to reconfirm it.</span>
{% for error in form.email.errors %} {% for error in form.email.errors %}
<span class="helper-text" style="color:red;">{{ error }}</span> <span class="helper-text" style="color:red;">{{ error }}</span>
{% endfor %} {% endfor %}
</div> </div>
<div class="input-field "> <div class="input-field ">
<i class="material-icons prefix">person</i> <i class="material-icons prefix">person</i>
{{ form.username(placeholder=current_user.username) }} {{ form.username(value=current_user.username) }}
{{ form.username.label }} {{ form.username.label }}
{% for error in form.username.errors %} {% for error in form.username.errors %}
<span class="helper-text" style="color:red;">{{ error }}</span> <span class="helper-text" style="color:red;">{{ error }}</span>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment