Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <ul id="todo-list" style="cursor: move">
- <% @task.todos.each do |f| %>
- <li id="todo_<%= f.id %>">
- <%= f.name %>
- </li>
- <% end %>
- </ul>
- <%= sortable_element "todo-list",
- :url => {:action => "sort", :id => @task},
- :complete => visual_effect(:highlight, "todo-list")
- %>
Add Comment
Please, Sign In to add comment