mirror of
https://0xacab.org/sutty/sutty
synced 2025-02-17 00:41:50 +00:00
fix: mostrar los valores anteriores al editar
This commit is contained in:
parent
40047c722c
commit
067991e72b
3 changed files with 11 additions and 6 deletions
|
@ -41,8 +41,9 @@
|
|||
Para poder cancelar, mantenemos el estado original y desactivamos
|
||||
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' } }
|
||||
- metadata.values.slice(*metadata.value).each do |value|
|
||||
= render 'posts/new_array_value', value: value
|
||||
-# @todo issue-7537
|
||||
- if !metadata.empty? && (indexed_post = site.indexed_posts.find_by(post_id: metadata.value))
|
||||
= render 'posts/new_related_post', post: indexed_post
|
||||
|
||||
= render 'bootstrap/modal', id: id, modal_content_attributes: { class: 'h-100' }, hide_actions: ['array#cancel'] do
|
||||
- content_for :"#{id}_header" do
|
||||
|
|
|
@ -40,8 +40,10 @@
|
|||
Para poder cancelar, mantenemos el estado original y desactivamos
|
||||
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' } }
|
||||
- metadata.values.slice(*metadata.value).each do |value|
|
||||
= render 'posts/new_array_value', value: value
|
||||
-# @todo issue-7537
|
||||
- metadata.value.each do |uuid|
|
||||
- if (indexed_post = site.indexed_posts.find_by(post_id: uuid))
|
||||
= render 'posts/new_related_post', post: indexed_post
|
||||
|
||||
= render 'bootstrap/modal', id: id, modal_content_attributes: { class: 'h-100' }, hide_actions: ['array#cancel'] do
|
||||
- content_for :"#{id}_header" do
|
||||
|
|
|
@ -40,8 +40,10 @@
|
|||
Para poder cancelar, mantenemos el estado original y desactivamos
|
||||
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' } }
|
||||
- metadata.values.slice(*metadata.value).each do |value|
|
||||
= render 'posts/new_array_value', value: value
|
||||
-# @todo issue-7537
|
||||
- metadata.value.each do |uuid|
|
||||
- if (indexed_post = site.indexed_posts.find_by(post_id: uuid))
|
||||
= render 'posts/new_related_post', post: indexed_post
|
||||
|
||||
= 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