Used Turbo Frames/Streams for adding/deleting tasks without refresh entire browser

This commit is contained in:
KaungKaung
2026-01-28 14:12:24 +06:30
parent 910c1912e0
commit 0f5d105be3
10 changed files with 87 additions and 76 deletions

View File

@@ -0,0 +1,13 @@
<%= form_with model: [project, task], local: false do |f| %>
<p>
<%= f.label :title %><br>
<%= f.text_field :title %>
</p>
<p>
<%= f.label :status %><br>
<%= f.select :status, Task.statuses.keys %>
</p>
<%= f.submit "Create Task" %>
<% end %>