Sha256: bd4529763f9dc1f9bcebd79c45a5307279f2210edfafc7ade6a793542dac501f

Contents?: true

Size: 460 Bytes

Versions: 3

Compression:

Stored size: 460 Bytes

Contents

<% if !content_part.category.nil? %>
    <% begin %>
        <%= render :partial => "shared/cms/parts/#{content_part.category.name.parameterize("_")}", :locals => { :object => content_part} %>
    <% rescue ActionView::MissingTemplate %>
        <%= render :partial => "content_parts/content_part_default", :object => content_part %>
    <% end %>
<% else %>
    <%= render :partial => "content_parts/content_part_default", :object => content_part %>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
spree-cms-0.2.1 app/views/admin/content_parts/_content_part.html.erb
spree-cms-0.2.0 app/views/admin/content_parts/_content_part.html.erb
spree-cms-0.1.0 app/views/admin/content_parts/_content_part.html.erb