Scaffold todo model
This commit is contained in:
12
app/views/todos/_todo.html.erb
Normal file
12
app/views/todos/_todo.html.erb
Normal file
@@ -0,0 +1,12 @@
|
||||
<div id="<%= dom_id todo %>">
|
||||
<p class="my-5">
|
||||
<strong class="block font-medium mb-1">Title:</strong>
|
||||
<%= todo.title %>
|
||||
</p>
|
||||
|
||||
<p class="my-5">
|
||||
<strong class="block font-medium mb-1">Status:</strong>
|
||||
<%= todo.status %>
|
||||
</p>
|
||||
|
||||
</div>
|
||||
Reference in New Issue
Block a user