Change the Next button to Validate

In Workbooks -> Create Workbook, when we choose “Direct input” for
“Definition source” field and enter a workbook definition it
proposes to click “Next” button and then on the next screen we
finally see “Create” button. If clicking “Next” does validation
then it is not obvious for the user. So, change the button to
"Validate".

Change-Id: I5a795c08a3b7252f330d976204238a7d27539770
Closes-Bug: 1648390
This commit is contained in:
Sharat Sharma 2017-03-31 12:24:01 +05:30
parent aff5d8f30d
commit 16985029f6
2 changed files with 2 additions and 2 deletions

View File

@ -68,7 +68,7 @@ class SelectDefinitionView(forms.ModalFormView):
modal_header = _("Create Workbook")
form_id = "select_definition"
form_class = mistral_forms.DefinitionForm
submit_label = _("Next")
submit_label = _("Validate")
submit_url = reverse_lazy("horizon:mistral:workbooks:select_definition")
success_url = reverse_lazy('horizon:mistral:workbooks:create')
page_title = _("Select Definition")

View File

@ -115,7 +115,7 @@ class SelectDefinitionView(forms.ModalFormView):
modal_header = _("Create Workflow")
form_id = "select_definition"
form_class = workflow_forms.DefinitionForm
submit_label = _("Next")
submit_label = _("Validate")
submit_url = reverse_lazy("horizon:mistral:workflows:select_definition")
success_url = reverse_lazy('horizon:mistral:workflows:create')
page_title = _("Select Definition")