Some UX improvements
This commit is contained in:
parent
48c0067076
commit
8c81237501
81 changed files with 791 additions and 151 deletions
8
app/views/checklist_entries/_checklist_entry.html.erb
Normal file
8
app/views/checklist_entries/_checklist_entry.html.erb
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<div id="<%= dom_id checklist_entry %>">
|
||||
<p>
|
||||
<%= button_to tag.i(class: "bi bi-trash"), checklist_entry_path(checklist_entry), method: :delete, class: "btn btn-link p-0 ps-3 float-end" %>
|
||||
<%= link_to "edit", edit_checklist_entry_path(checklist_entry), class: "float-end" %>
|
||||
<%= checklist_entry.position %>
|
||||
<%= link_to(checklist_entry.check.name, checklist_entry.check, data: { turbo_frame: "_top" }) %>
|
||||
</p>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue