mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-23 00:16:23 +00:00
feat: marcar el editor actual como el antiguo
This commit is contained in:
parent
87f638355d
commit
f448b4c7ee
2 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
.editor {
|
.old.editor {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
*, *::before, *::after { box-sizing: inherit; }
|
*, *::before, *::after { box-sizing: inherit; }
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
= render 'posts/attribute_feedback',
|
= render 'posts/attribute_feedback',
|
||||||
post: post, attribute: attribute, metadata: metadata
|
post: post, attribute: attribute, metadata: metadata
|
||||||
|
|
||||||
.editor{ id: attribute, data: { editor: '' } }
|
.old.editor{ id: attribute, data: { editor: '' } }
|
||||||
-# Esto es para luego decirle al navegador que se olvide estas cosas.
|
-# Esto es para luego decirle al navegador que se olvide estas cosas.
|
||||||
= hidden_field_tag 'storage_keys[]', "#{request.original_url}##{attribute}", data: { target: 'storage-key' }
|
= hidden_field_tag 'storage_keys[]', "#{request.original_url}##{attribute}", data: { target: 'storage-key' }
|
||||||
.alert.alert-info
|
.alert.alert-info
|
||||||
|
|
Loading…
Reference in a new issue