Scaffold Todo
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 %>">
|
||||
<div>
|
||||
<strong>Name:</strong>
|
||||
<%= todo.name %>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<strong>Description:</strong>
|
||||
<%= todo.description %>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
Reference in New Issue
Block a user