{% extends "fellchensammlung/base.html" %}
{% load i18n %}
{% load crispy_forms_tags %}

{% block content %}
    <div class="block">
    {% if not user.is_authenticated %}
        <form action="" method="post">
            {% csrf_token %}
            {{ form }}
            <input type="submit" class="button is-primary" value={% translate 'Absenden' %}>
        </form>
    {% else %}
        <p>{% translate "Du bist bereits eingeloggt." %}</p>
    {% endif %}
    </div>
{% endblock %}