{% extends "socialaccount/base.html" %}

{% load i18n %}

{% block head_title %}{% trans "Załóż konto" %}{% endblock %}

{% block content %}
  <h1>{% trans "Załóż konto" %}</h1>

  <p>{% blocktrans with provider_name=account.get_provider.name site_name=site.name trimmed %}
    Zakładasz konto w serwisie {{site_name}} przy pomocy zewnętrznego
    konta {{provider_name}}. W tym celu wypełnij formularz:
  {% endblocktrans %}</p>

  <form class="signup cuteform" id="signup_form" method="post" action="{% url 'socialaccount_signup' %}">
    {% csrf_token %}
    {{ form.as_p }}
    {% if redirect_field_value %}
      <input type="hidden" name="{{ redirect_field_name }}" value="{{ redirect_field_value }}" />
    {% endif %}
    <p><span class="helptext">{{ form.data_processing }}</span></p>
    <button type="submit">{% trans "Załóż konto" %} &raquo;</button>
  </form>

{% endblock %}
