From 87f95cf7e50381c5f63a1781e87c8b10e077bd16 Mon Sep 17 00:00:00 2001 From: f Date: Fri, 17 May 2024 15:35:17 -0300 Subject: [PATCH] feat: poder ver los cambios hechos --- app/views/posts/attribute_ro/_new_array.haml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 app/views/posts/attribute_ro/_new_array.haml diff --git a/app/views/posts/attribute_ro/_new_array.haml b/app/views/posts/attribute_ro/_new_array.haml new file mode 100644 index 00000000..20a0a545 --- /dev/null +++ b/app/views/posts/attribute_ro/_new_array.haml @@ -0,0 +1,8 @@ +%tr{ id: attribute } + %th= post_label_t(attribute, post: post) + %td + - if metadata.value.respond_to? :each + - metadata.value.each do |v| + %span.badge.badge-primary= v + - else + %span.badge.badge-primary{ lang: locale, dir: dir }= metadata.value