{% extends "orga/base.html" %}
{% load bootstrap4 %}
{% load i18n %}
{% load static %}

{% block title %}{% trans "User settings" %}{% endblock %}
{% block content %}
    <form method="post">
        {% csrf_token %}
        <fieldset>
        <legend>{% trans "User settings" %}</legend>
        {% bootstrap_form profile_form layout='event' %}
        {% include "orga/submit_row.html" with submit_name="form" submit_value="profile" %}
        </fieldset>
    </form>
    <form method="post" class="password-input-form">
        {% csrf_token %}
        <fieldset>
        <legend>{% trans "Login settings" %}</legend>
        {{ login_form.media }}
        {% bootstrap_form login_form layout='event' %}
        {% include "orga/submit_row.html" with submit_name="form" submit_value="login" %}
        </fieldset>
    </form>
    {% include "common/user_api_token.html" with orga="true" %}
{% endblock %}
