changeset 2477:7e05a3e8db96

copy of a base for register view
author sharky93 <rishabhr123@gmail.com>
date Sat, 14 Sep 2013 02:00:50 +0530
parents 663f46bd7f7e
children 2ead05f02b24
files MoinMoin/themes/basic/templates/register.html
diffstat 1 files changed, 20 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/MoinMoin/themes/basic/templates/register.html	Sat Sep 14 02:00:50 2013 +0530
@@ -0,0 +1,20 @@
+{% 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>
+    {{ forms.render(form['username']) }}
+    {{ forms.render(form['password1']) }}
+    {{ forms.render(form['password2']) }}
+    {{ forms.render(form['email']) }}
+    {{ forms.render(form['openid']) }}
+    {{ forms.render_textcha(gen, form) }}
+  </dl>
+  {{ forms.render_submit(form) }}
+{{ gen.form.close() }}
+</div>
+{% endblock %}