Some UX improvements
This commit is contained in:
parent
48c0067076
commit
8c81237501
81 changed files with 791 additions and 151 deletions
11
app/views/checklist_entries/show.html.erb
Normal file
11
app/views/checklist_entries/show.html.erb
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<h1><%= t("scaffold.pagetitle_show", model: @checklist_entry.class.model_name.human) %></h1>
|
||||
|
||||
<%= turbo_frame_tag dom_id(@checklist_entry, :frame) do %>
|
||||
<%= render @checklist_entry %>
|
||||
<% end %>
|
||||
|
||||
<div class="action-row">
|
||||
<%= link_to t("scaffold.link_edit", model: @checklist_entry.model_name.human), edit_checklist_entry_path(@checklist_entry) %>
|
||||
<%= link_to t("scaffold.link_index", model: @checklist_entry.model_name.human(count: 2)), checklist_entries_path %>
|
||||
<%= button_to t("scaffold.link_destroy", model: @checklist_entry.model_name.human), @checklist_entry, method: :delete, class: "btn btn-outline-danger" %>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue