webdev.camp/app/views/admin/courses/edit.html.haml

14 lines
317 B
Plaintext
Raw Normal View History

2017-06-06 21:07:44 +02:00
%h2.courses_edit_start
2017-06-06 21:47:47 +02:00
= params["action"].upcase
Course
= simple_form_for([:admin , @course]) do |f|
= f.error_notification
.form-inputs
= f.input :name
= f.input :extra
= f.input :start
2017-06-06 21:07:44 +02:00
.form-actions
= f.button :submit
= link_to "Back", admin_courses_path, :class => "btn btn-warning"