5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-07-02 14:06:07 +00:00
panel/app/views/posts/attribute_ro/_array.haml

9 lines
269 B
Plaintext

%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