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

committed by
Sebastian Serth

parent
e551c8a699
commit
f8330b39fb
@@ -14,7 +14,7 @@
|
||||
= f.label(:description, class: 'form-label')
|
||||
= f.markdown :description
|
||||
.mb-3
|
||||
= f.label(:file_type_id, t('activerecord.attributes.file.file_type_id'), class: 'form-label')
|
||||
= f.label(:file_type_id, CodeOcean::File.human_attribute_name('file_type_id'), class: 'form-label')
|
||||
= f.collection_select(:file_type_id, @file_types, :id, :name, {include_blank: true}, class: 'form-control')
|
||||
.mb-3
|
||||
= f.label(:example, class: 'form-label')
|
||||
|
Reference in New Issue
Block a user