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