From f465ce3588e4b3edb28695ee62a56041cc2835d8 Mon Sep 17 00:00:00 2001 From: f Date: Fri, 20 Jul 2018 15:21:12 -0300 Subject: [PATCH] avisar que se pueden seleccionar varias --- app/views/posts/template_field/_image.haml | 2 ++ config/locales/en.yml | 2 ++ config/locales/es.yml | 2 ++ 3 files changed, 6 insertions(+) diff --git a/app/views/posts/template_field/_image.haml b/app/views/posts/template_field/_image.haml index 9ab2a2af..c7cb48b1 100644 --- a/app/views/posts/template_field/_image.haml +++ b/app/views/posts/template_field/_image.haml @@ -9,3 +9,5 @@ required: template.required?, multiple: template.multiple?, accept: 'image/*' +- if template.multiple? + %small.text-muted.form-text= t('posts.image.multiple') diff --git a/config/locales/en.yml b/config/locales/en.yml index e4f81664..04ce7df7 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -216,3 +216,5 @@ en: anchor: 'Copy this link to come back here' number: max: 'The maximum value is %{max}' + image: + multiple: 'You can select several images' diff --git a/config/locales/es.yml b/config/locales/es.yml index 2859ccdc..6adb44f9 100644 --- a/config/locales/es.yml +++ b/config/locales/es.yml @@ -212,3 +212,5 @@ es: anchor: 'Copia este vínculo para volver aquí más tarde' number: max: 'El valor máximo es %{max}' + image: + multiple: 'Puedes seleccionar varias imágenes'