validar el titulo #51

This commit is contained in:
f 2018-06-22 14:52:35 -03:00
parent ea36a3cd9f
commit 92252851b9
No known key found for this signature in database
GPG key ID: F3FDAB97B5F9F7E7

View file

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