SHARE
TWEET

Untitled

a guest Mar 26th, 2019 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <div>
  2. Добавить задачу
  3.   <%= form_for :todo, url: todos_create_path, method: 'post', html: {id: "todo_form"} do |f| %>
  4.   <%= f.label :text, "Текст" %>
  5.   <%= f.text_field :text %>
  6.   <%= f.select(:project_id, Project.options_for_select)%>
  7.   <%= f.select(:isCompleted, Todo.options_for_select)%>
  8.   <%= link_to 'ok', todos_create_path, id: 'submit' %>
  9.   <% end %>
  10. </div>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top