5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-22 19:16:23 +00:00
This commit is contained in:
f 2024-05-28 18:34:28 -03:00
parent f58b3fb464
commit 25efe4d51d
No known key found for this signature in database
3 changed files with 3 additions and 3 deletions

View file

@ -1,3 +1,3 @@
%tr{ id: attribute }
%th= post_label_t(attribute, post: post)
%td{ dir: dir, lang: locale }= metadata.values.invert[metadata.value]
%td{ dir: dir, lang: locale }= metadata.to_s

View file

@ -1,3 +1,3 @@
%tr{ id: attribute }
%th= post_label_t(attribute, post: post)
%td{ dir: dir, lang: locale }= metadata.values.invert[metadata.value]
%td{ dir: dir, lang: locale }= metadata.to_s

View file

@ -42,7 +42,7 @@
o activamos los ítemes según estén incluidos en esa lista o no.
.row.row-cols-3.row-cols-md-4.no-gutters.placeholder-glow{ data: { target: 'array.current' } }
- unless metadata.empty?
= render 'posts/new_array_value', metadata.values[metadata.value]
= render 'posts/new_array_value', value: metadata.to_s
= render 'bootstrap/modal', id: id, modal_content_attributes: { class: 'h-100' }, hide_actions: ['array#cancel'] do
- content_for :"#{id}_header" do