{% extends 'base.html' %}                                                                                                                      
{% load i18n %}

{% block title %}{% trans 'Add a new OpenID' %} - ivatar{% endblock title %}

{% block content %}

<h1>{% trans 'Add a new OpenID' %}</h1>

<p>{% trans 'Once you have confirmed this OpenID URL, you will be able to log into your account using that OpenID URL.' %}</p>

<form action="{% url 'add_openid' %}" name="addopenid" method="post">{% csrf_token %}

  {{form.openid.errors}}
  <p class="aligned wide">{{form.openid.label_tag}} {{form.openid}}</p>

  <p class="hint">{% trans 'You will be redirected to the authorisation page for the provider. If the process fails, you can remove the ID from this list and try adding it again.' %}</p>

  <p><input type="submit" value="{% trans 'Add' %}" />
  &nbsp;<a href="{% url 'profile' %}">{% trans 'Cancel' %}</a></p>

</form>

{% endblock content %}
