Sha256: f930c6b8568bf827e182605c5728607962a24fcaf34c89a0efa12792d5cdd349

Contents?: true

Size: 403 Bytes

Versions: 2265

Compression:

Stored size: 403 Bytes

Contents

<div id='block_<%= block.id %>'>  
  <% if block.children.count > 0 %>
    <% block.children.each do |b| %><%= raw block.render(b, local_assigns) %><% end %>  
  <% elsif editing %>
    <%= raw empty_text %>
  <% end %>
  <% if editing && modal %>
    <br style='clear: both;' />
    <p><a href='/admin/pages/<%= block.page_id %>/blocks/<%= block.id %>/new'>Add a child block!</a></p>
  <% end %>
</div>

Version data entries

2,265 entries across 755 versions & 1 rubygems

Version Path
caboose-cms-0.4.61 app/views/caboose/blocks/_selector_switch_three.html.erb
caboose-cms-0.4.61 app/views/caboose/blocks/_selector_switch_one.html.erb
caboose-cms-0.4.60 app/views/caboose/blocks/_selector_switch_two.html.erb
caboose-cms-0.4.60 app/views/caboose/blocks/_selector_switch_three.html.erb
caboose-cms-0.4.60 app/views/caboose/blocks/_selector_switch_one.html.erb