TreeView v1

This commit is contained in:
david 2024-11-06 22:12:37 +01:00
parent d1294c2fc4
commit e9743cd00c
6 changed files with 148 additions and 50 deletions

View file

@ -11,13 +11,13 @@ h1
.smb-4.lead.mb-3
= @report.comment
.row
.col-lg-3.col-md-6.col-sm-12
.col-lg-4.col-md-6.col-sm-12
.page_nav.sticky-top
= render partial: "reports/page_nav", locals: { report: @report, current_page: @current_page }
- if @current_page
= turbo_frame_tag(dom_id(@current_page, :notes)) do
= render partial: "pages/notes", locals: { page: @current_page }
.col-lg-9.col-md-6.col-sm-12
.col-lg-8.col-md-6.col-sm-12
- if @current_page
= render @current_page
- else