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.3.2 app/views/spud/admin/pages/show.html.erb
spud_cms-0.3.1 app/views/spud/admin/pages/show.html.erb
spud_cms-0.3.0 app/views/spud/admin/pages/show.html.erb