basic_app/app/views/admin/s_sites/_form.html.haml
Nicolas Bally fd027c16c1 initial
2020-04-21 21:53:16 +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"