
.question=item.title
	
-if item.questions_type == 1
	.answer_p
		=f.radio_button :boolean_content, true
		=f.label :boolean_content_true, "oui"
		=f.radio_button :boolean_content, false
		=f.label :boolean_content_false, "non"
			
-elsif item.questions_type == 2
	.answer_p
		-if item.text_presentation == 2
			=f.text_area :content, :class => "large"
		-else	
			=f.text_field :content, :class => "large"
-elsif item.questions_type == 3
	= f.fields_for(:answer_sets) do |f|
		=f.hidden_field :survey_item_answer_id
		=render :partial => "survey_sets/answer_set", :locals => {:f => f, :answer => f.object.survey_item_answer}
	
-elsif item.questions_type == 4		
		
	-item.answers.each do |answer|
		.answer_p{:style =>( "display:inline;" if item.display_type == 1)}
			=f.radio_button :content, answer.label_text
			=f.label :content, answer.label_text, :value => answer.label_text
				
				
		
	