kaps_app/app/views/public/kaps_days/_form.html.haml
Nicolas Bally d60301e8a7 initial
2019-01-21 01:15:10 +01:00

18 lines
573 B
Plaintext
Executable File

=semantic_form_for [:public, @kaps_day], :remote => true do |f|
.content
=f.inputs do
= f.input :kaps_days_type_id, :label => "Type de kaps_days :", :collection => [["Jour", 1],["Semaine", 2],["Mois", 3]], :as => :select, :include_blank => false
= f.input :name, :label => "Nom :"
= f.input :public, :label => "Public :"
= f.input :points, :label => "Points :", :collection => 0..5, :as => :radio, :include_blank => false
.actions=f.submit "sauvegarder", :class => "btn btn-primary"