9 lines
243 B
Text
9 lines
243 B
Text
|
%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= metadata.value
|