{% 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 %} {% url 'accounts:password_reset' as password_reset_url %} {% url 'accounts:register' as register_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 %} {% elif request.path == password_reset_url %} {% firstof 'Reset Password' as submit %} {% elif request.path == register_url %} {% firstof 'Register' as submit %} {% endif %} {% include "base_navbar.html" %} {% include "base_heading.html" %}
Forgot Password? Reset Password
Need an account? Register
{% endif %}