Advertisement
ChinaToster

Untitled

Jul 6th, 2019
2,837
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Rails 0.25 KB | None | 0 0
  1. <h1>Задачи</h1>
  2. <% @projects.each do |project| %>
  3.   <tr><strong><%= project.title %></strong></tr>
  4.   <% project.todos.each do |todo| %>
  5.     <ul>
  6.       <li><%= todo.text %></li>
  7.     </ul>
  8.   <% end %>
  9. <% end %>
  10. <%= render 'todos/todo_form' %>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement