2
0
mirror of https://github.com/janeczku/calibre-web synced 2024-10-31 15:20:28 +00:00
calibre-web/cps/templates/register.html

23 lines
902 B
HTML
Raw Normal View History

2015-10-13 00:30:55 +00:00
{% 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>
2015-10-13 00:30:55 +00:00
<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>
2015-10-13 00:30:55 +00:00
</div>
<div class="form-group required">
<label for="email">{{_('E-mail address')}}</label>
<input type="email" class="form-control" id="email" name="email" placeholder="{{_('Your email address')}}" required>
2015-10-13 00:30:55 +00:00
</div>
<button type="submit" id="submit" class="btn btn-primary">{{_('Register')}}</button>
2015-10-13 00:30:55 +00:00
</form>
</div>
{% if error %}
<div class="col-sm-6 col-sm-offset-2">
<div class="alert alert-danger">{{error}}</div>
</div>
{% endif %}
{% endblock %}