Improve document upload wizard title messages
This commit is contained in:
@@ -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 %}
|
||||
|
||||
@@ -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 %}
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user