Fix notes
Some checks failed
/ Run tests (push) Successful in 1m51s
/ Run system tests (push) Failing after 1m58s
/ Build, push and deploy image (push) Successful in 1m21s

This commit is contained in:
david 2024-11-09 01:00:26 +01:00
parent d1a4eeea30
commit c2d1cb6ce7
3 changed files with 8 additions and 2 deletions

View file

@ -3,6 +3,9 @@ h1
= render @page
= turbo_frame_tag(dom_id(@page, :notes)) do
= render partial: "pages/notes", locals: { page: @page }
.action-row
= link_to t("scaffold.link_edit", model: @page.model_name.human), edit_page_path(@page)
= link_to t("scaffold.link_index", model: @page.model_name.human(count: 2)), report_pages_path(@page.report)

View file

@ -1,4 +1,5 @@
div id=dom_id(report, :page_nav)
/ div id=dom_id(report, :page_nav)
= turbo_frame_tag(dom_id(report, :page_nav))
ul.nav.nav-underline
li.nav-item
= link_to("Baum", url_for(pnm: :n), class: "nav-link #{@page_nav_mode == :nav_tree ? "active david" : nil}")