mmsc_app/app/views/admin/s_sites/_form.html.haml
Nicolas Bally a6aa1f6074 Initial
2020-05-25 11:40:11 +02:00

15 lines
463 B
Plaintext

=semantic_form_for [:admin, @s_site], :remote => true do |f|
.content
=f.inputs do
= f.input :name, :label => "Nom :"
= f.input :description, :label => "Description :"
= f.input :externe, :label => "externe ?"
= f.input :s_site_type_id, :label => "Type de site :", :collection => SSiteType.order(:name).all, :as => :select
.actions=f.submit "sauvegarder", :class => "btn btn-primary"