{% extends "base.html" %} {% load crispy_forms_tags %} {% block content %} {% url 'accounts:login' as login_url %} {% url 'accounts:edit_profile' as edit_profile_url %} {% url 'accounts:password_change' as password_change_url %} {% url 'audio:new_feed' as new_feed_url %} {% if request.path == login_url %} {% firstof 'Login' as submit %} {% elif request.path == edit_profile_url %} {% firstof 'Update' as submit %} {% elif request.path == password_change_url %} {% firstof 'Update' as submit %} {% elif request.path == new_feed_url %} {% firstof 'Submit' as submit %} {% endif %} {% include "base_navbar.html" %} {% include "base_heading.html" %}
{% if request.path == new_feed_url %}
{% elif form_data == "TRUE" %} {% else %} {% endif %} {% csrf_token %} {{ form | crispy }}

{% if request.path == edit_profile_url %}
{% if user.account.use_totp %} Disable 2fa {% else %} Enable 2fa {% endif %} Change Password
{% endif %}
{% endblock %}