Project creation/destruction admin table turbo streams

This commit is contained in:
2025-11-13 00:25:32 +02:00
parent 7839a58464
commit e8bea5dd60
5 changed files with 15 additions and 6 deletions
+5 -4
View File
@@ -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