Add some toasts
This commit is contained in:
parent
84fc1d2d93
commit
934deddec4
10 changed files with 50 additions and 5 deletions
|
|
@ -5,4 +5,7 @@
|
|||
/ = turbo_stream.update dom_id(sc, :title), "#{sc.page.position}.#{sc.element.position}.#{sc.position} #{sc.title}"
|
||||
- element.success_criteria.each do |sc|
|
||||
= turbo_stream.update dom_id(sc, :position), "#{sc.page.position}.#{sc.element.position}.#{sc.position}"
|
||||
= turbo_stream.replace dom_id(element, :frame), element
|
||||
= turbo_stream.replace dom_id(element, :frame), element
|
||||
|
||||
|
||||
= turbo_stream_toast("Element gespeichert", false)
|
||||
Loading…
Add table
Add a link
Reference in a new issue