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.94 app/views/caboose/blocks/_selector_switch_three.html.erb
caboose-cms-0.4.94 app/views/caboose/blocks/_selector_switch_two.html.erb
caboose-cms-0.4.94 app/views/caboose/blocks/_selector_switch_one.html.erb
caboose-cms-0.4.93 app/views/caboose/blocks/_selector_switch_three.html.erb
caboose-cms-0.4.93 app/views/caboose/blocks/_selector_switch_two.html.erb
caboose-cms-0.4.93 app/views/caboose/blocks/_selector_switch_one.html.erb
caboose-cms-0.4.92 app/views/caboose/blocks/_selector_switch_three.html.erb
caboose-cms-0.4.92 app/views/caboose/blocks/_selector_switch_two.html.erb
caboose-cms-0.4.92 app/views/caboose/blocks/_selector_switch_one.html.erb
caboose-cms-0.4.91 app/views/caboose/blocks/_selector_switch_three.html.erb
caboose-cms-0.4.91 app/views/caboose/blocks/_selector_switch_two.html.erb
caboose-cms-0.4.91 app/views/caboose/blocks/_selector_switch_one.html.erb
caboose-cms-0.4.90 app/views/caboose/blocks/_selector_switch_three.html.erb
caboose-cms-0.4.90 app/views/caboose/blocks/_selector_switch_two.html.erb
caboose-cms-0.4.90 app/views/caboose/blocks/_selector_switch_one.html.erb
caboose-cms-0.4.89 app/views/caboose/blocks/_selector_switch_two.html.erb
caboose-cms-0.4.89 app/views/caboose/blocks/_selector_switch_three.html.erb
caboose-cms-0.4.89 app/views/caboose/blocks/_selector_switch_one.html.erb
caboose-cms-0.4.88 app/views/caboose/blocks/_selector_switch_two.html.erb
caboose-cms-0.4.88 app/views/caboose/blocks/_selector_switch_three.html.erb