Scaffold Todo
Some checks failed
CI / scan_ruby (push) Has been cancelled
CI / scan_js (push) Has been cancelled
CI / lint (push) Has been cancelled
CI / test (push) Has been cancelled
CI / system-test (push) Has been cancelled

This commit is contained in:
2025-10-27 10:18:59 +01:00
parent a33de989ae
commit 6776729eab
19 changed files with 262 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
<p style="color: green"><%= notice %></p>
<% content_for :title, "Todos" %>
<h1>Todos</h1>
<div id="todos">
<% @todos.each do |todo| %>
<%= render todo %>
<p>
<%= link_to "Show this todo", todo %>
</p>
<% end %>
</div>
<%= link_to "New todo", new_todo_path %>