Nicolas Bally ec1f1ae71a contacts
2015-11-01 18:50:03 +01:00

27 lines
751 B
Plaintext

= semantic_form_for [:admin, @contact], :remote => true do |f|
.content
=f.inputs do
= f.input :readed, :label => "Lu ?"
= f.input :name, :label => "Nom"
= f.input :email, :label => "Email"
= f.input :tel, :label => "Téléphone"
= f.input :place, :label => "Lieu"
= f.input :message, :label => "Message"
= 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 :notes, :label => "Notes"
.actions
=f.submit "Sauvegarder", :class => "btn btn-primary"