~ubuntuone-pqm-team/canonical-identity-provider/trunk

« back to all changes in this revision

Viewing changes to identityprovider/templates/set_language.html

  • Committer: Danny Tamez
  • Date: 2010-04-21 15:29:24 UTC
  • Revision ID: danny.tamez@canonical.com-20100421152924-lq1m92tstk2iz75a
Canonical SSO Provider (Open Source) - Initial Commit

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!-- Copyright 2010 Canonical Ltd.  This software is licensed under the
 
2
GNU Affero General Public License version 3 (see the file  LICENSE). -->
 
3
 
 
4
{% extends "base.html" %}
 
5
{% load i18n %}
 
6
 
 
7
{% block "content" %}
 
8
<h2>Set language and redirect</h2>
 
9
<form action="/i18n/setlang/" method="POST">
 
10
<div>
 
11
Redirect to page: <input name="next" type="value" value="/" />
 
12
</div>
 
13
<div>Using language:
 
14
<select name="language">
 
15
{% for lang in LANGUAGES %}
 
16
    <option value="{{lang.0}}">{{lang.1}}</option>
 
17
{% endfor %}
 
18
</select>
 
19
</div>
 
20
<input type="submit" value="Go!" />
 
21
</form>
 
22
{% endblock %}