Sha256: c909f5ed8ba670a4b5accf81aa6e6a9e6f90d98bf97753d1da6c8cc9f90eede0

Contents?: true

Size: 768 Bytes

Versions: 23

Compression:

Stored size: 768 Bytes

Contents

<%=content_for :head do%>
	<meta name="description" content="<%=@page.meta_description%>" />

	  <meta name="keywords" content="<%=@page.meta_keywords%>" />
<%end%>

<%if !@inline.blank?%>
	<%=render :inline => @inline%> 
<%else%>
	<h2><%=@page.name%></h2>
<%end%>
<%@page.spud_page_partials.each do |page_partial|%>
	
	<%if(page_partial.name.downcase == 'body' && Spud::Cms.yield_body_as_content_block == false)%>
		<%=page_partial.content.html_safe%>
	<%else%>
		<%=content_for page_partial.name.parameterize.underscore.to_sym do%>
			<%=page_partial.content.html_safe%>
		<%end%>
	<%end%>
<%end%>
<span class="spud_admin_edit_controls">
	<%=link_to 'Edit',edit_spud_admin_page_path(:id => @page.id)%>&nbsp;|&nbsp;<%=link_to 'Back',spud_admin_pages_path()%>
</span>

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
spud_cms-0.8.6 app/views/spud/admin/pages/show.html.erb
spud_cms-0.8.5 app/views/spud/admin/pages/show.html.erb
spud_cms-0.8.4 app/views/spud/admin/pages/show.html.erb
spud_cms-0.8.2 app/views/spud/admin/pages/show.html.erb
spud_cms-0.8.1 app/views/spud/admin/pages/show.html.erb
spud_cms-0.8.0 app/views/spud/admin/pages/show.html.erb
spud_cms-0.7.2 app/views/spud/admin/pages/show.html.erb
spud_cms-0.7.1 app/views/spud/admin/pages/show.html.erb
spud_cms-0.7.0 app/views/spud/admin/pages/show.html.erb
spud_cms-0.4.8 app/views/spud/admin/pages/show.html.erb
spud_cms-0.4.7 app/views/spud/admin/pages/show.html.erb
spud_cms-0.4.6 app/views/spud/admin/pages/show.html.erb
spud_cms-0.4.5 app/views/spud/admin/pages/show.html.erb
spud_cms-0.4.4 app/views/spud/admin/pages/show.html.erb
spud_cms-0.4.3 app/views/spud/admin/pages/show.html.erb
spud_cms-0.4.0 app/views/spud/admin/pages/show.html.erb
spud_cms-0.3.7 app/views/spud/admin/pages/show.html.erb
spud_cms-0.3.6 app/views/spud/admin/pages/show.html.erb
spud_cms-0.3.4 app/views/spud/admin/pages/show.html.erb
spud_cms-0.3.3 app/views/spud/admin/pages/show.html.erb