<%=prefix if defined? prefix%><%=link_to page.name,spud_admin_page_path(:id => page.id)%> <%=link_to "Edit",edit_spud_admin_page_path(:id => page.id), :title => "Edit Page",:class => 'button'%>  <%=link_to "Remove",spud_admin_page_path(:id => page.id),:method => :delete,:class => 'button',:confirm => "Are you sure you want to remove this page?"%>
<%if !page.spud_pages.all.blank?%>
<%page.spud_pages.each do |spud_page|%> <%=render :partial => 'page_row',:locals => {:page => spud_page}%> <%end%>
<%end%>