= semantic_form_for [:admin,@home], :url => admin_home_page_path(@home), :remote => true do |form| 
	.content
		%h3 Emplacement 1
		= form.inputs do 
			-Promotion.all.each do |promotion|
				%p
					=form.radio_button :promotion_1_id, promotion.id
					%label{:for => "home_promotion_1_id_"+promotion.id.to_s}=promotion.title
		
		%h3 Emplacement 2
		= form.inputs do 
			-Promotion.all.each do |promotion|
				%p
					=form.radio_button :promotion_2_id, promotion.id
					%label{:for => "home_promotion_2_id_"+promotion.id.to_s}=promotion.title
		
		%h3 Emplacement 3
		= form.inputs do 
			-Promotion.all.each do |promotion|
				%p
					=form.radio_button :promotion_3_id, promotion.id
					%label{:for => "home_promotion_3_id_"+promotion.id.to_s}=promotion.title
		

		
		
	.actions
		= form.submit "Sauvegarder"
