view MoinMoin/templates/openid_register.html @ 2931:a6bb853c740b

fix logon with openid 2.0, fixes #345
author RogerHaase <haaserd@gmail.com>
date Tue, 21 Apr 2015 15:22:02 -0700
parents 31628ac3ec21
children
line wrap: on
line source
{% extends theme("layout.html") %}
{% import "forms.html" as forms %}

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

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

                {{ forms.render(form['username']) }}
                {{ forms.render(form['password1']) }}
                {{ forms.render(form['password2']) }}
                {{ forms.render(form['email']) }}
                {{ forms.render_textcha(gen, form) }}
            </dl>
            <input type="hidden" name="openid_submit" value="1" >
            {{ forms.render_submit(form) }}
        {{ gen.form.close() }}
    </div>
{% endblock %}