-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed all templates, fixed account_api, fixed werkzeug errors handler
- Loading branch information
1 parent
625eb75
commit f190b69
Showing
8 changed files
with
37 additions
and
19 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,30 +2,44 @@ | |
|
||
{% block content %} | ||
<div class="p-x-1 p-y-3" id='registration'> | ||
<form class="card card-block m-x-auto bg-faded form-width"> | ||
<form class="card card-block m-x-auto bg-faded form-width" method="post"> | ||
{{ form.hidden_tag() }} | ||
|
||
<legend class="m-b-1 text-xs-center" id='reg-header'>Creator registration</legend> | ||
<div class="form-group has-float-label"> | ||
<span class="form-group has-float-label"> | ||
<input class="form-control" id="last" type="text" placeholder="Nickname" name='Nickname' required /> | ||
<label for="last">Nickname</label> | ||
|
||
{{ form.username.label }} | ||
{{ form.username(class='form-control', size=32, placeholder='mr.kekster') }} | ||
{% for error in form.username.errors %} | ||
<p style="color: red;">[{{ error }}]</p> | ||
{% endfor %} | ||
</span> | ||
</div> | ||
<div class="form-group has-float-label"> | ||
<span class="has-float-label"> | ||
<input class="form-control" id="email" type="email" placeholder="[email protected]" name='Email' required /> | ||
<label for="email">ЭЛЕКТРОМЫЛО</label> | ||
{{ form.email.label }} | ||
{{ form.email(class="form-control", id="email", type="email", placeholder="[email protected]") }} | ||
{% for error in form.email.errors %} | ||
<p style="color: red;">[{{ error }}]</p> | ||
{% endfor %} | ||
</span> | ||
</div> | ||
<div class="form-group has-float-label"> | ||
<input class="form-control" id="password" type="password" placeholder="••••••••" required /> | ||
<label for="password">Password</label> | ||
{{ form.password.label }} | ||
{{ form.password(class="form-control", id="password", type="password", placeholder="••••••••") }} | ||
{% for error in form.password.errors %} | ||
<p style="color: red;">[{{ error }}]</p> | ||
{% endfor %} | ||
</div> | ||
<div class="form-group has-float-label"> | ||
<input class="form-control" id="password2" type="password" placeholder="••••••••" required /> | ||
<label for="password">Repeat password</label> | ||
{{ form.password2(class="form-control", id="password", type="password", placeholder="••••••••") }} | ||
{% for error in form.password2.errors %} | ||
<p style="color: red;">[{{ error }}]</p> | ||
{% endfor %} | ||
</div> | ||
<div class="text-xs-center"> | ||
<button class="btn btn-block btn-primary" type="submit" id="button-reg">Done!</button> | ||
{{ form.submit(class="btn btn-block btn-primary", id='button-reg') }} | ||
</div> | ||
</form> | ||
</div> | ||
|