start of iteration 2
This commit is contained in:
parent
9fb87a74ce
commit
729ed13521
75 changed files with 705 additions and 170 deletions
9
app/views/pages/show.html.erb
Normal file
9
app/views/pages/show.html.erb
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<h1><%= t("scaffold.pagetitle_show", model: @page.class.model_name.human) %></h1>
|
||||
|
||||
<%= render @page %>
|
||||
|
||||
<div class="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) %>
|
||||
<%= button_to t("scaffold.link_destroy", model: @page.model_name.human), @page, method: :delete, class: "btn btn-outline-danger" %>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue