2017-06-06 21:07:44 +02:00
|
|
|
%h2.courses_edit_start
|
2017-06-06 21:47:47 +02:00
|
|
|
= params["action"].upcase
|
|
|
|
Course
|
2017-09-02 15:03:19 +02:00
|
|
|
= 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
|
2017-09-02 15:03:19 +02:00
|
|
|
= f.button :submit
|
|
|
|
= link_to "Back", admin_courses_path, :class => "btn btn-warning"
|