From 5067e36ed609988c0708209031242c859e04a4d5 Mon Sep 17 00:00:00 2001 From: f Date: Mon, 22 Apr 2019 16:13:39 -0300 Subject: [PATCH] =?UTF-8?q?indicar=20que=20se=20pone=20en=20el=20cuerpo=20?= =?UTF-8?q?del=20art=C3=ADculo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/posts/_form.haml | 1 + config/deploy/production.rb | 2 +- config/locales/en.yml | 1 + config/locales/es.yml | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/app/views/posts/_form.haml b/app/views/posts/_form.haml index dfac48d8..a74416c1 100644 --- a/app/views/posts/_form.haml +++ b/app/views/posts/_form.haml @@ -54,6 +54,7 @@ = text_field 'post', 'title', value: @post.title, class: field_class, required: true - if @post.content? .form-group{class: direction} + = label_tag 'post_content', t('posts.content') = render 'layouts/help', help: [ t('help.markdown.intro'), t('help.distraction_free_html'), t('help.preview_html') ] diff --git a/config/deploy/production.rb b/config/deploy/production.rb index 07c0a263..7814d2e0 100644 --- a/config/deploy/production.rb +++ b/config/deploy/production.rb @@ -2,7 +2,7 @@ set :deploy_user, 'app' set :deploy_to, '/srv/http/sutty.kefir.red' -set :branch, 'rails' +set :branch, 'kefir' set :rack_env, 'production' set :tmp_dir, "#{fetch :deploy_to}/tmp" diff --git a/config/locales/en.yml b/config/locales/en.yml index ec393c56..17fc1903 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -173,6 +173,7 @@ en: order: 'order' date: 'date' order: 'Order' + content: 'Text' new: 'New post' new_with_template: 'New %{template}' dropdown: 'Toggle dropdown' diff --git a/config/locales/es.yml b/config/locales/es.yml index 2b93429d..5b5f3dd0 100644 --- a/config/locales/es.yml +++ b/config/locales/es.yml @@ -178,6 +178,7 @@ es: order: 'posición' date: 'fecha' order: 'Posición' + content: 'Cuerpo del artículo' categories: 'Todos' dropdown: 'Desplegar el menú' new: 'Empezar un artículo nuevo'