Added OpenID example

This commit is contained in:
Armin Ronacher 2010-05-04 11:23:01 +02:00
parent 67fc465262
commit bc0c0559e3
9 changed files with 390 additions and 0 deletions

View file

@ -0,0 +1,22 @@
{% extends "layout.html" %}
{% block title %}Create Profile{% endblock %}
{% block body %}
<h2>Create Profile</h2>
<p>
Hey! This is the first time you signed in on this website. In
order to proceed we need a couple of more information from you:
<form action="" method=post>
<dl>
<dt>Name:
<dd><input type=text name=name size=30 value="{{ request.form.name }}">
<dt>E-Mail
<dd><input type=text name=email size=30 value="{{ request.form.email }}">
</dl>
<p>
<input type=submit value="Create profile">
<input type=hidden name=next value="{{ next_url }}">
</form>
<p>
If you don't want to proceed, you can <a href="{{ url_for('logout')
}}">sign out</a> again.
{% endblock %}