Django-magic to prevent cross-site request forgery for POST requests
[mygpo.git] / mygpo / web / templates / migrate.html
blobab463d90cccbad89c281ff5a342fb3c67cc60126
1 {% extends "base.html" %}
2 {% load i18n %}
4 {% block title %}{% trans "Select a Username" %}{% endblock %}
6 {% block content %}
7 <h1>{{ url }}</h1>
8 <p>{% blocktrans with username|striptags as user_name %}The new {{ url }} uses usernames instead of email addresses. Based on your email address, we think you might like <strong>{{user_name}}</strong>, but you can change that if you want to.{% endblocktrans %}</p>
10 <form action="/migrate/" method="post">
11 {% csrf_token %}
12 Username: <input type="text" name="username" value="{{ username|striptags }}"/><br /><br />
13 <input type="submit" name="submit" value="Submit" />
14 </form>
15 <p>{% trans "You can keep your old user settings in gPodder. Once the next version (with lots of new features) is release, you'll have to replace your email address with your username." %}</p>
16 {% endblock %}