validar el titulo #51
This commit is contained in:
parent
ea36a3cd9f
commit
92252851b9
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@
|
|||
%small.text-muted.form-text= t('posts.dir_help')
|
||||
.form-group
|
||||
= label_tag 'post_title', t('posts.title')
|
||||
= text_field 'post', 'title', value: @post.title, class: field_class
|
||||
= text_field 'post', 'title', value: @post.title, class: field_class, required: true
|
||||
.form-group{class: direction}
|
||||
= render 'layouts/help', help: [ t('help.markdown.intro'),
|
||||
t('help.distraction_free_html'),
|
||||
|
|
Loading…
Reference in a new issue