views: rename the procedure_publish_label helper
The new text makes more sense.
This commit is contained in:
parent
50b1d4ce28
commit
9be16a1208
2 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@ module ProcedureHelper
|
|||
safe_join(parts, ' ')
|
||||
end
|
||||
|
||||
def procedure_publish_text(procedure, key)
|
||||
def procedure_publish_label(procedure, key)
|
||||
# i18n-tasks-use t('modal.publish.body.publish')
|
||||
# i18n-tasks-use t('modal.publish.body.reopen')
|
||||
# i18n-tasks-use t('modal.publish.submit.publish')
|
||||
|
|
|
@ -40,4 +40,4 @@
|
|||
- if errors.details[:path].present?
|
||||
- options[:disabled] = :disabled
|
||||
.flex.justify-end
|
||||
= submit_tag procedure_publish_text(procedure, :submit), options
|
||||
= submit_tag procedure_publish_label(procedure, :submit), options
|
||||
|
|
Loading…
Reference in a new issue