Improve document upload wizard title messages

This commit is contained in:
Roberto Rosario
2015-06-30 17:35:16 -04:00
parent e9ea2dc35a
commit c7953a1cfb
4 changed files with 5 additions and 4 deletions

View File

@@ -5,10 +5,8 @@
{% block title %} :: {% include 'appearance/calculate_form_title.html' %}{% endblock %}
{% block content %}
{% if title %}
<h3>{{ title }}</h3>
<hr>
{% endif %}
<h3>{% include 'appearance/calculate_form_title.html' %}</h3>
<hr>
{% if form %}
{% with '' as title %}

View File

@@ -3,6 +3,8 @@
{% load i18n %}
{% block content %}
<h3>{% include 'appearance/calculate_form_title.html' %}</h3>
<hr>
{{ wizard.management_form }}
{% with step_title as title %}

View File

@@ -64,6 +64,7 @@ class DocumentCreateWizard(ViewPermissionCheckMixin, SessionWizardView):
'step_title': self.step_titles[self.steps.step0],
'submit_label': _('Next step'),
'submit_icon': 'fa fa-arrow-right',
'title': _('Document upload wizard'),
})
return context