=form_for @newsletter do |f|
	=f.submit "sauvegarder"
	%p
		Sujet :
		=f.text_field :title, :class => "inputText"
		
	%p
		Sujet :
		=f.select :email_from, Newsletter::EMAIL_FROMS,:class => "inputText"



	
	
	%p
		=f.text_area :content, :class => "redactor_content", :style => "height:600px;width:100%;max-width:100%"
	
	:javascript
		
		$('.redactor_content').redactor({
			
			fixed: true,
			lang: 'fr',
			buttons : ['html', '|', 'formatting', '|', 'bold', 'italic', 'deleted','underline','|', 'alignleft', 'aligncenter', 'alignright', 'justify', '|', 'unorderedlist', 'orderedlist', 'outdent', 'indent', '|', 'table', 'link', '|','fontcolor', 'backcolor','|', 'horizontalrule'],
			
		
		});
		
	
	=f.submit "sauvegarder"
	
	