Replace manual activerecord translations with helpers
This commit is contained in:

committed by
Sebastian Serth

parent
e551c8a699
commit
f8330b39fb
@@ -13,5 +13,5 @@
|
||||
.form-check.mb-3
|
||||
label.form-check-label
|
||||
= f.check_box(:important, class: 'form-check-input')
|
||||
= t('activerecord.attributes.error_template_attribute.important')
|
||||
= ErrorTemplateAttribute.human_attribute_name('important')
|
||||
.actions = render('shared/submit_button', f:, object: @error_template_attribute)
|
||||
|
Reference in New Issue
Block a user