mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-26 09:46:23 +00:00
feat: poder ver los cambios hechos
This commit is contained in:
parent
b3a1673795
commit
87f95cf7e5
1 changed files with 8 additions and 0 deletions
8
app/views/posts/attribute_ro/_new_array.haml
Normal file
8
app/views/posts/attribute_ro/_new_array.haml
Normal file
|
@ -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
|
Loading…
Reference in a new issue