ecole_eft_app/app/views/admin/topics/_form.html.haml

8 lines
275 B
Plaintext

= semantic_form_for [:admin, @topic], :remote => true do |f|
=f.input :title, :label => "Titre"
=f.input :student_groups, :as => :check_boxes, :collection => StudentGroup.all, :label => "Groupe d'étudiant"
=f.submit "Sauvegarder", :class => "btn btn-primary"