From bd78dd6ce468acafab4aab8d1689f6ee7d5b064e Mon Sep 17 00:00:00 2001 From: f Date: Tue, 19 Jun 2018 15:12:29 -0300 Subject: [PATCH] mostrar todavia mejor --- app/views/posts/_form.haml | 2 +- config/locales/en.yml | 2 +- config/locales/es.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/posts/_form.haml b/app/views/posts/_form.haml index ff38268..681e8b0 100644 --- a/app/views/posts/_form.haml +++ b/app/views/posts/_form.haml @@ -80,7 +80,7 @@ .form-group = label_tag "post_#{template}" do - if template.private? - = fa_icon 'lock', alt: t('posts.private') + = fa_icon 'lock', title: t('posts.private') = template.help.present? ? template.help : template.human - name = "post[#{template}]" - value = @post.new? ? template.values : @post.get_front_matter(template) diff --git a/config/locales/en.yml b/config/locales/en.yml index 91a1d18..69bc289 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -204,6 +204,6 @@ en: date: 'Post needs a valid date' invalid: 'This field is required!' open: 'Tip: You can add new options by typing them and pressing Enter' - private: 'The values of this field will remain private' + private: '🔒 The values of this field will remain private' select: placeholder: 'Type to filter available options' diff --git a/config/locales/es.yml b/config/locales/es.yml index a82e940..d847905 100644 --- a/config/locales/es.yml +++ b/config/locales/es.yml @@ -200,6 +200,6 @@ es: date: 'Necesita una fecha' invalid: '¡Este campo es obligatorio!' open: 'Nota: Puedes agregar más opciones a medida que las escribes y presionas Entrar' - private: 'Los valores de este campo serán privados' + private: '🔒 Los valores de este campo serán privados' select: placeholder: 'Empieza a escribir para filtrar las opciones disponibles'