From 92252851b9ddb3525d39791942b71f5f34d383f7 Mon Sep 17 00:00:00 2001 From: f Date: Fri, 22 Jun 2018 14:52:35 -0300 Subject: [PATCH] validar el titulo #51 --- app/views/posts/_form.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'),