Project creation/destruction admin table turbo streams
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
.row
|
||||
= link_to 'New', new_project_path
|
||||
|
||||
ul
|
||||
- @projects.each do |project|
|
||||
li
|
||||
= link_to project.name, project
|
||||
/ TODO: admin view, extract when doing roles stuff
|
||||
ul#projects
|
||||
= render collection: @projects, partial: 'row', as: :project
|
||||
|
||||
= turbo_stream_from Project, :admin_table
|
||||
|
||||
Reference in New Issue
Block a user