mirror of
https://github.com/janeczku/calibre-web
synced 2024-08-23 18:16:48 +00:00
![OzzieIsaacs](/assets/img/avatar_default.png)
Unified wording Calibre-Web Replaced one table on admin page, deleted password column Removed spaces on layout page Removed uesless commit calls during db migration Implementation of registering by email
27 lines
1.1 KiB
HTML
27 lines
1.1 KiB
HTML
{% extends "layout.html" %}
|
|
{% block body %}
|
|
<div class="well col-sm-6 col-sm-offset-2">
|
|
<h2 style="margin-top: 0">{{_('Register a new account')}}</h2>
|
|
<form method="POST" role="form">
|
|
<div class="form-group required">
|
|
<label for="nickname">{{_('Username')}}</label>
|
|
<input type="text" class="form-control" id="nickname" name="nickname" placeholder="{{_('Choose a username')}}" required>
|
|
</div>
|
|
<!--div class="form-group required">
|
|
<label for="password">{{_('Password')}}</label>
|
|
<input type="password" class="form-control" id="password" name="password" placeholder="{{_('Choose a password')}}" required>
|
|
</div-->
|
|
<div class="form-group required">
|
|
<label for="email">{{_('Email address')}}</label>
|
|
<input type="email" class="form-control" id="email" name="email" placeholder="{{_('Your email address')}}" required>
|
|
</div>
|
|
<button type="submit" class="btn btn-primary">{{_('Register')}}</button>
|
|
</form>
|
|
</div>
|
|
{% if error %}
|
|
<div class="col-sm-6 col-sm-offset-2">
|
|
<div class="alert alert-danger">{{error}}</div>
|
|
</div>
|
|
{% endif %}
|
|
{% endblock %}
|