Sha256: 67fcbc060dc2461da7d246315d38f197136e9c222d36a2aecdec1537c0806462

Contents?: true

Size: 297 Bytes

Versions: 6

Compression:

Stored size: 297 Bytes

Contents

<div id='form_blocks'>
  <%= fields_for :blocks, nil, :builder => ComfortableMexicanSofa::FormBuilder do |cms_blocks| %>
    <% @cms_page.tags(true).select{|t| t.is_cms_block?}.each do |tag| %>
      <%= cms_blocks.send(tag.class.to_s.demodulize.underscore, tag)%>
    <% end %>
  <% end %>
</div>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
comfortable_mexican_sofa-1.2.3 app/views/cms_admin/pages/_form_blocks.html.erb
comfortable_mexican_sofa-1.2.2 app/views/cms_admin/pages/_form_blocks.html.erb
comfortable_mexican_sofa-1.2.1 app/views/cms_admin/pages/_form_blocks.html.erb
comfortable_mexican_sofa-1.2.0 app/views/cms_admin/pages/_form_blocks.html.erb
comfortable_mexican_sofa-1.1.2 app/views/cms_admin/pages/_form_blocks.html.erb
comfortable_mexican_sofa-1.1.1 app/views/cms_admin/pages/_form_blocks.html.erb