{% extends "main.html" %}

{% load i18n %}
{% load crispy_forms_tags %}
{% load account socialaccount %}

{% block title %}{% trans "Sign In" %}{% endblock %}

{% block content %}
    <h3>{% trans "Sign In" %}</h3>
    <!--a id='sign-in-google' class='btn btn-primary' href="/google/login/?process=login&next={{ redirect_field_value }}">Sign in with your Google account</a-->
      <!--br><br><h5>Don't have a Google account?  Sign in with your account on this site:</h5-->
    <form class="login" method="POST" action="{% url 'account_login' %}">
      {% csrf_token %}
      {{ form | crispy }}
      {% if redirect_field_value %}
      <input type="hidden" name="{{ redirect_field_name }}" value="{{ redirect_field_value }}">
      {% endif %}
      <!--a class='btn btn-primary' href="{{ signup_url }}">Create a new account</a--> 
      <!--button id='sign-in-local' class="btn btn-success" type="submit">{% trans "Sign In" %}</button-->
      <button id='sign-in-local' class="btn btn-primary" type="submit">{% trans "Sign In" %}</button>
    </form>
    <!--p><a href="\signup">Create new account</a></p-->

    {% endblock %}