.field
	.person_form
	
		.person
	
		
			%table	
				%tr
					%td=form.label :newsletter, "Newsletter"
					%td=form.label :surname, "Nom", :style => ("color:red;" if form.object.errors.include?(:surname))
					%td=form.label :firstname, "Prénom", :style => ("color:red;" if form.object.errors.include?(:firstname))
					%td=form.label :email, "Email", :style => ("color:red;" if form.object.errors.include?(:email))
					%td=form.label :phone, "Tél"
					%td=form.label :job, "Job"
					
					%td.del{:rowspan => 2}
						= link_to_remove_fields i(:x_alt), form
				%tr
					%td=form.check_box :newsletter, :place_holder => "Newsletter"
					%td=form.text_field :surname, :place_holder => "Nom", :style => ("border-color:red;" if form.object.errors.include?(:surname))
					%td=form.text_field :firstname, :place_holder => "Prénom", :style => ("border-color:red;" if form.object.errors.include?(:firstname))
					%td=form.text_field :email, :place_holder => "Email", :style => ("border-color:red;" if form.object.errors.include?(:email))
					%td=form.text_field :phone, :place_holder => "Tél"
					%td=form.text_field :job, :place_holder => "Job"
				
		

				%tr.groups
					%td{:colspan => 6}
					
						=form.input :newsgroups, :as => :check_boxes, :collection => Newsgroup.all, :label => ""
	

