revert mistakes

This commit is contained in:
yqbk
2016-08-02 12:47:11 +02:00
parent f204304a2c
commit f7eaa24a1d
3 changed files with 88 additions and 7 deletions

View File

@ -37,4 +37,4 @@ li.panel.panel-default
.form-group
= f.label(:role, t('activerecord.attributes.file.weight'))
= f.number_field(:weight, class: 'form-control', min: 1, step: 'any')
= render('code_field', attribute: :content, form: f, label: t('activerecord.attributes.file.content'))
= render('code_field', attribute: :content, form: f, label: t('activerecord.attributes.file.content'))