=form_for( [:portlet, @text_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]

	=f.text_area :content, :style => "width:98%;", :class => "text_editor"
	-if TextContent::STYLES.size > 0
		Style :
		= f.select :style, TextContent::STYLES

	
			
	=f.submit 'Sauvegarder'
		
