diff --git a/app/views/posts/_form.haml b/app/views/posts/_form.haml index f772b09..e4e2f37 100644 --- a/app/views/posts/_form.haml +++ b/app/views/posts/_form.haml @@ -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'),