app/views/admin/pages/_page.html.erb in beef-pages-0.2.0 vs app/views/admin/pages/_page.html.erb in beef-pages-0.2.2

- old
+ new

@@ -1,7 +1,7 @@ <tr id="pages-<%= page.id %>"> - <td class="title"><%= link_to page.title, admin_page_page_path(page) %></td> + <td class="title"><%= link_to page.title, admin_page_pages_path(page) %></td> <td><%= content_status(page) %></td> <td><%= page.author %><br />(<%= page.created_at.to_formatted_s(:short) %>)</td> <td><%= page.editor %><%= "<br />(#{page.updated_at.to_formatted_s(:short)})" unless page.updated_at.nil? %></td> <td class="date"><%= page.published_at.to_formatted_s(:short) %></td> <td class="date"><%= page.published_to.to_formatted_s(:short) unless page.published_to.nil? %></td> @@ -11,7 +11,6 @@ <td><%= link_to('Destroy', admin_page_path(page), :confirm => 'Are you sure?', :method => :delete, :class => 'delete') unless page.parent_id.nil? || !current_user.admin? %></td> <td> <%= link_to 'up', move_up_admin_page_path(page), { :class => "page_up" } if current_user.admin? && !page.first? %> <%= link_to 'down', move_down_admin_page_path(page), { :class => 'page_down' } if current_user.admin? && !page.last? %> </td> - </tr> - <%= render :partial => page.children, :locals => { :level => level + 1 } %> + </tr> \ No newline at end of file