negos_app/app/views/admin/reseauxes/_form.html.haml
2017-05-18 01:21:04 +02:00

10 lines
359 B
Plaintext
Executable File

=semantic_form_for [:admin, @reseaux] do |f|
.content
=f.inputs do
=f.input :name, :label => "Nom du réseau : "
=f.input :chef_reseau, :label => "Chef réseau : ", :collection => Customer.where(:chef_reseau => true).pluck(Arel.sql("CONCAT(`firstname`, ' ', `name`)"), :id)
.actions= f.submit "Sauvegarder", :class => "btn btn-primary"