From 8ac8af0c5c39c5891e6981be44f125607ca5566f Mon Sep 17 00:00:00 2001 From: f Date: Mon, 22 Apr 2019 16:53:38 -0300 Subject: [PATCH] no enfocar en el cuerpo --- 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 af5a1201..770dd1d4 100644 --- a/app/views/posts/_form.haml +++ b/app/views/posts/_form.haml @@ -59,7 +59,7 @@ = render 'layouts/help', help: [ t('help.markdown.intro'), t('help.distraction_free_html'), t('help.preview_html') ] - = text_area_tag 'post[content]', @post.content, autofocus: true, + = text_area_tag 'post[content]', @post.content, class: 'post-content' - if @post.has_field? :date .form-group