5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-25 17:46:21 +00:00
panel/app/views/posts/attribute_ro/_array.haml

9 lines
269 B
Text
Raw Permalink Normal View History

%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