{% 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" %}