a11yist/app/views/elements/create.turbo_stream.slim
david d1294c2fc4
Some checks failed
/ Run tests (push) Successful in 1m22s
/ Run system tests (push) Failing after 1m33s
/ Build, push and deploy image (push) Successful in 3m22s
Refactorings and gui improvements
2024-11-03 21:58:25 +01:00

5 lines
No EOL
349 B
Text

= turbo_stream.update "new_element_frame", partial: "pages/new_element_button", locals: { page: @element.page }
= turbo_stream.append "element_list", @element
= turbo_stream.append dom_id(@element.page, :page_nav_elements) do
i.bi.bi-boxes.me-1
= link_to("#{@element.number} #{@element.title}", "##{dom_id(@element)}", data: { "turbo": false })