mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-22 14:06:21 +00:00
fix: dry
This commit is contained in:
parent
f58b3fb464
commit
25efe4d51d
3 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue