From 69159e6749d3554fcecd694cb0f3b81708c40460 Mon Sep 17 00:00:00 2001 From: f Date: Thu, 11 Feb 2021 12:13:53 -0300 Subject: [PATCH] aunque el archivo sea obligatorio la descripcion no lo es --- app/views/posts/attributes/_file.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/posts/attributes/_file.haml b/app/views/posts/attributes/_file.haml index 56adb239..54f87b5b 100644 --- a/app/views/posts/attributes/_file.haml +++ b/app/views/posts/attributes/_file.haml @@ -34,6 +34,6 @@ = text_field(*field_name_for(base, attribute, :description), value: metadata.value['description'], dir: dir, lang: locale, - **field_options(attribute, metadata)) + **field_options(attribute, metadata, required: false)) = render 'posts/attribute_feedback', post: post, attribute: [attribute, :description], metadata: metadata