Archived
1
0
Fork 0

Make the application modular to have a "main" and "backend" part.

This commit is contained in:
Henrik Hautakoski 2018-10-09 22:26:01 +02:00
parent 884f721002
commit e5b0e1fcfd
No known key found for this signature in database
GPG key ID: 839F3A7EAFAEAFAA
28 changed files with 112 additions and 7 deletions

View file

@ -0,0 +1,43 @@
<div class="register">
<h2>Account registration</h2>
<div class="alert alert-info alert-dismissible" role="alert">
<strong>Information!</strong>
<p>
The form is prepared with the information provided by <strong>{{ provider }}</strong>.
Please check the information and make changes if necessary before continue.
</p>
</div>
<span class="spacer"></span>
<form class="form form-horizontal" method="post">
<div class="form-group">
{{ form.renderDecorated('email') }}
</div>
<div class="form-group">
{{ form.renderDecorated('username') }}
</div>
<div class="form-group">
{{ form.renderDecorated('first-name', ['length': 4]) }}
{{ form.renderDecorated('last-name', ['length': 4]) }}
</div>
<span class="spacer"></span>
<div class="form-group">
<div class="col-xs-12 col-xs-offset-2">
{{ form.render('submit') }}
</div>
</div>
</form>
</div>