20 lines
731 B
Plaintext
20 lines
731 B
Plaintext
=semantic_form_for [:admin, @s_project], :remote => false do |f|
|
|
|
|
.content
|
|
=f.inputs do
|
|
= f.input :parent_id, :label => "Projet parent :", :collection => SProject.all, :as => :select
|
|
= f.input :name, :label => "Nom :"
|
|
= f.input :description, :label => "Description :"
|
|
|
|
= f.input :p_commercial_id, :label => "Commercial :", :collection => PCommercial.all, :as => :select
|
|
= f.input :resp_suivi_id_id, :label => "Chef de projet :", :collection => PCommercial.all, :as => :select
|
|
|
|
= f.input :enabled, :label => "Actif ?"
|
|
= f.input :archived, :label => "Archivé ?"
|
|
|
|
|
|
|
|
|
|
|
|
.actions=f.submit "sauvegarder", :class => "btn btn-primary"
|
|
|