ChinaToster

Untitled

Jul 6th, 2019
797
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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' %>
RAW Paste Data