Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div>
- Добавить задачу
- <%= form_for :todo, url: todos_create_path, method: 'post', html: {id: "todo_form"} do |f| %>
- <%= f.label :text, "Текст" %>
- <%= f.text_field :text %>
- <%= f.select(:project_id, Project.options_for_select)%>
- <%= f.select(:isCompleted, Todo.options_for_select)%>
- <%= link_to 'ok', todos_create_path, id: 'submit' %>
- <% end %>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement