views: rename the procedure_publish_label helper

The new text makes more sense.
This commit is contained in:
Pierre de La Morinerie 2021-10-12 16:17:01 +02:00
parent 50b1d4ce28
commit 9be16a1208
2 changed files with 2 additions and 2 deletions

View file

@ -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')

View file

@ -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