Create New Task

<%= form_with(model: @task, local: true, class: "task-form") do |form| %> <%= render 'form', task: @task, form: form %> <% end %>

Tasks (<%= @tasks.count %>)

<% if @tasks.empty? %>

No tasks found with current filters.

<% else %>
<% @tasks.each do |task| %> <%= render 'task', task: task %> <% end %>
<% end %>