view MoinMoin/templates/openid_register.html @ 215:d661d49a46dc

reverted 214:0f501a426b50, it will be solved differently by a filter for the Generator in util.forms
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Sat, 07 May 2011 19:33:57 +0200
parents 0f501a426b50
children e1f9d9b5da57
line wrap: on
line source
{% extends theme("layout.html") %}
{% import "forms.html" as forms %}

{% block item %}
<h1>{{ _("Create Account") }}</h1>
<div class="moin-form">
{{ gen.form.open(form, method="post", action=url_for('frontend.register')) }}
  {{ forms.render_errors(form) }}
  <dl>
    {{ gen.input(form['submit'], type='hidden') }}

    <dt>{{ gen.label(form['openid']) }}</dt>
    <dd>{{ gen.input(form['openid'], type='text', readonly='1') }}</dd>

    {{ forms.render_field(gen, form['username'], 'text') }}
    {{ forms.render_field(gen, form['password1'], 'password') }}
    {{ forms.render_field(gen, form['password2'], 'password') }}
    {{ forms.render_field(gen, form['email'], 'text') }}
    {{ forms.render_textcha(gen, form) }}
  </dl>
  <input type="submit" value="{{ _("Register") }}" />
{{ gen.form.close() }}
</div>
{% endblock %}