<%= form_tag do %>
<%= _('In what area do you want to put your new block?') %>
<% @boxes.each do |box| %>
<% name = box.central? ? _('Main area') : _('Area %d') % box.position %>
<%= labelled_radio_button(name, :box_id, box.id, box.central?, { 'data-position' => box.position }) %>
<% end %>
<%= _('Select the type of block you want to add to your page.') %>
<% @center_block_types.each do |block| %>
<%= labelled_radio_button(block.description, :type, block.name) %>
<% end %>
<% @side_block_types.each do |block| %>
<%= labelled_radio_button(block.description, :type, block.name) %>
<% end %>
<% button_bar do %>
<%= submit_button(:add, _("Add")) %>
<%= modal_close_button(_('Close')) %>
<% end %>
<% end %>