app/views/contents/_show_children.html.erb in common-content-0.0.4 vs app/views/contents/_show_children.html.erb in common-content-0.0.5

- old
+ new

@@ -1,10 +1,10 @@ -<% # http://stackoverflow.com/questions/187073/jquery-sortables %> -<div class=""> - <!-- <input type='hidden' name='content[child_order]' id='child_order' /> --> - <div id="children"> - <% show_children.try :each do |child| %> - <%= content_tag :div, id: child.id do %> - <p><%= link_to child.title, contents_path + '/' + child.ancestry.join('/') + '/edit' %></p> - <% end; end -%> - </div> -</div> +<% # http://stackoverflow.com/questions/187073/jquery-sortables %> +<div class=""> + <!-- <input type='hidden' name='content[child_order]' id='child_order' /> --> + <div id="children"> + <% show_children.try :each do |child| %> + <%= content_tag :div, id: child.id do %> + <p><%= link_to child.title, contents_path + '/' + child.ancestry.join('/') + '/edit' %></p> + <% end; end -%> + </div> +</div>