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/edit.html.erb
Normal file
11
app/views/checklist_entries/edit.html.erb
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<h1><%= t("scaffold.pagetitle_edit", model: ChecklistEntry.model_name.human) %></h1>
|
||||
|
||||
<%= turbo_frame_tag dom_id(@checklist_entry, :frame) do %>
|
||||
<%= render "form", checklist_entry: @checklist_entry %>
|
||||
<%= link_to "cancel", @checklist_entry %>
|
||||
<% end %>
|
||||
|
||||
<div class="action-row">
|
||||
<%= link_to t("scaffold.link_show", model: ChecklistEntry.model_name.human), @checklist_entry %>
|
||||
<%= link_to t("scaffold.link_index", model: ChecklistEntry.model_name.human(count: 2)), checklist_entries_path %>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue