This commit is contained in:
Nicolas Bally 2017-11-13 22:43:57 +01:00
parent c37f410d3b
commit f3f8a1104e

View File

@ -1,13 +1,13 @@
= semantic_form_for [:admin, @contact], :remote => true do |f|
.content
=f.inputs do
= f.input :contact_status, :label => "Status :", :collection => ["En cours", "Signés","En attente", "Archivé"], :include_blank => true
= f.input :contact_status, :label => "Status :", :collection => ["En cours", "Signés","En attente", "Archivé"], :include_blank => false
= f.input :urgent, :label => "Urgent ?"
= f.input :readed, :label => "Lu ?"
= f.input :admin_id, :label => "Géré par ?", :collection => (Admin.where(:contact_role => true).all.map{|u|[ u.username, u.id]}), :as => :select
= f.input :archived, :label => "Archivé ?"
= f.input :name, :label => "Nom"
= f.input :email, :label => "Email"
= f.input :email, :label => "Email"]
= f.input :tel, :label => "Téléphone"
= f.input :place, :label => "Lieu"