mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2025-06-15 18:40:40 +00:00
Fix forms
This commit is contained in:
@ -5,7 +5,7 @@
|
||||
{% block page_content %}
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col s12 m8 offset-m2">
|
||||
<div class="col s12 l8 offset-l2">
|
||||
<h1 id="title">{{ title }}</h1>
|
||||
<p>Want to boost your research and get going? Nopaque is free and no download is needed. <a href="{{ url_for('.register') }}">Register now</a>!</p>
|
||||
|
||||
@ -15,14 +15,14 @@
|
||||
{{ wtf.render_field(form.user, material_icon='person') }}
|
||||
{{ wtf.render_field(form.password, material_icon='vpn_key') }}
|
||||
<div class="row">
|
||||
<div class="col s6 left-align">
|
||||
<a href="{{ url_for('.reset_password_request') }}">Forgot your password?</a>
|
||||
</div>
|
||||
<div class="col s6 right-align">
|
||||
<div class="col s12 l6">
|
||||
{{ wtf.render_field(form.remember_me) }}
|
||||
</div>
|
||||
<div class="col s12 l6 right-align">
|
||||
<a class="mr-3" href="{{ url_for('.reset_password_request') }}">Forgot your password?</a>
|
||||
{{ wtf.render_field(form.submit, material_icon='send') }}
|
||||
</div>
|
||||
</div>
|
||||
{{ wtf.render_field(form.submit, material_icon='send', class_='width-100') }}
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
@ -5,7 +5,7 @@
|
||||
{% block page_content %}
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col s12 m8 offset-m2">
|
||||
<div class="col s12 l8 offset-l2">
|
||||
<h1 id="title">{{ title }}</h1>
|
||||
<p>
|
||||
Simply enter a username and password to receive your registration email.
|
||||
@ -22,12 +22,15 @@
|
||||
{{ wtf.render_field(form.username, material_icon='person') }}
|
||||
{{ wtf.render_field(form.password, material_icon='vpn_key') }}
|
||||
{{ wtf.render_field(form.password_2, material_icon='vpn_key') }}
|
||||
{{ wtf.render_field(form.email, class_='validate', material_icon='email', type='email') }}
|
||||
<br>
|
||||
{{ wtf.render_field(form.terms_of_use_accepted, type='checkbox')}}
|
||||
<p></p>
|
||||
<br>
|
||||
{{ wtf.render_field(form.submit, class_='width-100', material_icon='send') }}
|
||||
{{ wtf.render_field(form.email, material_icon='email', type='email') }}
|
||||
<div class="row">
|
||||
<div class="col s12 l6">
|
||||
{{ wtf.render_field(form.terms_of_use_accepted)}}
|
||||
</div>
|
||||
<div class="col s12 l6 right-align">
|
||||
{{ wtf.render_field(form.submit, material_icon='send') }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
@ -13,7 +13,9 @@
|
||||
{{ form.hidden_tag() }}
|
||||
{{ wtf.render_field(form.password) }}
|
||||
{{ wtf.render_field(form.password_2) }}
|
||||
{{ wtf.render_field(form.submit, class_='width-100', material_icon='send') }}
|
||||
<div class="right-align">
|
||||
{{ wtf.render_field(form.submit, material_icon='send') }}
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
@ -4,15 +4,17 @@
|
||||
{% block page_content %}
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col s12 m8 offset-m2">
|
||||
<div class="col s12 l8 offset-l2">
|
||||
<h1 id="title">{{ title }}</h1>
|
||||
<p>After entering your email address you will receive instructions on how to reset your password.</p>
|
||||
|
||||
<form method="POST">
|
||||
<div class="card-panel">
|
||||
{{ form.hidden_tag() }}
|
||||
{{ wtf.render_field(form.email, class_='validate', material_icon='email', type='email') }}
|
||||
{{ wtf.render_field(form.submit, class_='width-100', material_icon='send') }}
|
||||
{{ wtf.render_field(form.email, material_icon='email', type='email') }}
|
||||
<div class="right-align">
|
||||
{{ wtf.render_field(form.submit, material_icon='send') }}
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user