Modified the new document wizard submit button and icon making more intuitive

This commit is contained in:
Roberto Rosario
2011-06-20 00:08:09 -04:00
parent 9f9b2d3854
commit 05dd113d03

View File

@@ -40,7 +40,11 @@ class DocumentCreateWizard(BoundFormWizard):
super(DocumentCreateWizard, self).__init__(*args, **kwargs)
def render_template(self, request, form, previous_fields, step, context=None):
context = {'step_title': self.extra_context['step_titles'][step]}
context = {
'step_title': self.extra_context['step_titles'][step],
'submit_label': _(u'Next step'),
'submit_icon_famfam': 'arrow_right',
}
return super(DocumentCreateWizard, self).render_template(
request, form, previous_fields, step, context
)