summaryrefslogtreecommitdiff
path: root/talerbank/app/templates/register.html
blob: 94747174ede181077122b76f77d9af13c6d33995 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{% extends "base.html" %}

{% block main %}

<h1 class="nav">{{ _("Register to the {currency} bank!").format(currency=settings_value('TALER_CURRENCY')) }}</h1>

  <aside class="sidebar" id="left">
  </aside>
  <section id="main">
    <article>
      <a href="{{ url('index') }}">{{ _("Back") }}</a>
      <div class="notification">
        {% if wrong %}
          <p class="informational informational-fail">
          {{ hint }}
          </p>
        {% endif %}
        {% if not_available %}
        <p class="informational informational-fail">
          {{ _("Sorry, this username is no longer available.  Please choose another one!") }}
        </p>
        {% endif %}
      </div>
    </article>
  </section>
  <section id="main">
    <article>
      <div class="register-form">
	<h1>{{ _("Registration form") }}</h1>
        <form class="pure-form" method="post" action="{{ url('register') }}">
          <input type="hidden" name="csrfmiddlewaretoken" value="{{ csrf_token }}" />
          <input type="text" name="username" placeholder="username" autofocus />
          <input type="password" name="password" placeholder="password" />
	  <input type="submit" value="{{ _('Sign Up') }}" class="pure-button pure-button-primary" />
        </form>
      </div>
    </article>
  </section>
{% endblock main %}