Unify template title rendering. Add support for template subtitles.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user