This commit is contained in:
Patrick Jentsch
2020-02-19 16:58:56 +01:00
parent 48685e4da6
commit ba3f9ec214
6 changed files with 29 additions and 21 deletions

View File

@ -36,7 +36,7 @@
<div class="switch">
<label>
Remember me
{{ login_form.remember_me() }}
{{ login_form.remember_me(class='validate') }}
<span class="lever"></span>
</label>
</div>
@ -44,7 +44,7 @@
</div>
</div>
<div class="card-action right-align">
{{ login_form.submit(class='btn') }}
<button class="btn waves-effect waves-light" id="login-form-submit" name="login-form-submit" type="submit">Log in<i class="material-icons right">send</i></button>
</div>
</form>
</div>

View File

@ -29,9 +29,9 @@
</div>
<div class="input-field">
<i class="material-icons prefix">vpn_key</i>
{{ registration_form.password2(class='validate') }}
{{ registration_form.password2.label }}
{% for error in registration_form.password2.errors %}
{{ registration_form.password_confirmation(class='validate') }}
{{ registration_form.password_confirmation.label }}
{% for error in registration_form.password_confirmation.errors %}
<span class="helper-text red-text">{{ error }}</span>
{% endfor %}
</div>

View File

@ -12,22 +12,22 @@
<div class="card-content">
{{ reset_password_form.hidden_tag() }}
<div class="input-field">
{{ reset_password_form.password(type='password') }}
{{ reset_password_form.password(class='validate') }}
{{ reset_password_form.password.label }}
{% for error in reset_password_form.password.errors %}
<span class="helper-text red-text">{{ error }}</span>
{% endfor %}
</div>
<div class="input-field">
{{ reset_password_form.password2(type='password') }}
{{ reset_password_form.password2.label }}
{% for error in reset_password_form.password2.errors %}
{{ reset_password_form.password_confirmation(class='validate') }}
{{ reset_password_form.password_confirmation.label }}
{% for error in reset_password_form.password_confirmation.errors %}
<span class="helper-text red-text">{{ error }}</span>
{% endfor %}
</div>
</div>
<div class="card-action right-align">
{{ reset_password_form.submit(class='btn') }}
<button class="btn waves-effect waves-light" id="reset-password-form-submit" name="reset-password-form-submit" type="submit">Reset Password<i class="material-icons right">send</i></button>
</div>
</form>
</div>

View File

@ -20,7 +20,7 @@
</div>
</div>
<div class="card-action right-align">
{{ reset_password_request_form.submit(class='btn') }}
<button class="btn waves-effect waves-light" id="reset-password-request-form-submit" name="reset-password-request-form-submit" type="submit">Reset Password<i class="material-icons right">send</i></button>
</div>
</form>
</div>