= simple_nested_form_for [:admin, @subject, @course], turboboost: true, validate: true do |f| = f.input :name = f.input :description = f.button :submit, @course.new_record? ? "Add #{Course.model_name.human}" : "Update #{Course.model_name.human}", class: 'btn-default'