pic_vert_app/app/views/petitions/_form.html.haml
2013-06-28 21:55:55 +02:00

20 lines
668 B
Plaintext

%h2 Ajouter ma signature.
=semantic_form_for @signator, :url => petitions_path, :method => :post do |f|
=f.hidden_field :petition_id
=f.inputs do
=f.input :name, :label => "Nom :"
=f.input :firstname, :label => "Prénom :"
=f.input :address, :label => "Adresse :"
=f.input :address2, :label => "Adresse (suite) :"
=f.input :cp, :label => "Code postal :"
=f.input :city, :label => "Ville :"
=f.input :country, :label => "Pays :", :as => :string
=f.input :email, :label => "Email :"
=f.input :email_confirmation, :label => "Email (confirmation) :"
%p=f.submit "Envoyer ma signature", :style => "margin-bottom:1em;"