Unify template title rendering. Add support for template subtitles.

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2018-08-14 03:32:19 -04:00
parent fe9a395724
commit 57e1fe8cf0
17 changed files with 40 additions and 89 deletions
@@ -4,14 +4,9 @@
{% load navigation_tags %}
{% block title %}{% include 'appearance/calculate_form_title.html' with html_title=True %}{% endblock %}
{% block title %}{% include 'appearance/calculate_form_title.html' with non_html_title=True %}{% endblock %}
{% block content %}
{% if title %}
<h3>{{ title }}</h3>
<hr>
{% endif %}
<div class="row">
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-3">
{{ navigation }}