
=semantic_form_for( [:portlet, @table_content], :remote => true) do |f|


	-if !@table_content.id
		%table
			%tr
				%td Nombre de lignes :
				%td=f.text_field :nbr_rows
			%tr
				%td Nombre de colonnes :
				%td=f.text_field :nbr_cols
	
	-if BlockContent::STYLES.size > 0
		Style :
		= f.select :style, TableContent::STYLES
	
	%br
	= f.submit "Sauvegarder", :class => "btn btn-primary"
	
	

