Model menus, modal edit and layout improvements
This commit is contained in:
parent
7b0f05a448
commit
70500c49a1
35 changed files with 1079 additions and 148 deletions
9
app/views/layouts/modal.html.slim
Normal file
9
app/views/layouts/modal.html.slim
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
= turbo_frame_tag "modal" do
|
||||
dialog.bg-body id="modal" data={ controller: :dialog }
|
||||
.float-end
|
||||
form method="dialog"
|
||||
button.btn.btn-outline-danger
|
||||
i.bi.bi-x-lg
|
||||
= yield
|
||||
|
||||
data-action="turbo:submit-end->turbo-modal#submitEnd"
|
||||
Loading…
Add table
Add a link
Reference in a new issue