<% # http://stackoverflow.com/questions/187073/jquery-sortables %>
<% show_children.try :each do |child| %> <%= content_tag :div, id: child.id do %>

<%= link_to child.title, contents_path + '/' + child.ancestry.join('/') + '/edit' %>

<% end; end -%>