
=form_for( [:portlet, @block_content], :remote => true) do |f|
	=hidden_field_tag "block_id", params[:block_id]
	=hidden_field_tag "portlet_id", params[:portlet_id]
	=hidden_field_tag "position", params[:position]

	-if !@block_content.id
		%table
			%tr
				%td Nombre de colonnes :
				%td
			
					%p
						=f.radio_button :nbr_columns, 1
						Une colonne
					%p
						=f.radio_button :nbr_columns, 2
						Deux colonnes
	
	-if BlockContent::STYLES.size > 0
		Style :
		= f.select :style, BlockContent::STYLES
	%br
	=f.submit "Sauvegarder"

