<% form_tag do %>

<%= _('In what area do you want to put your new block?') %>

<% @boxes.each do |box| %> <%= labelled_radio_button(_("Area %d") % box.position, :box_id, box.id, box.central?, { :class => 'box-position', 'data-position' => box.position }) %> <% end %>

<%= _('Select the type of block you want to add to your page.') %>

<%= render :partial => 'block_types', :locals => { :block_types => @center_block_types } %>

<% button_bar do %> <%= submit_button(:add, _("Add")) %> <%= colorbox_close_button(_('Close')) %> <% end %> <% end %>