lockaz_app/app/views/admin/s_projects/_form.html.haml
Nicolas Bally f20fe482c6 initial
2020-04-06 10:38:07 +02:00

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"