admix/app/views/admix/inherited/_form.html.haml in mix-rails-0.16.0 vs admix/app/views/admix/inherited/_form.html.haml in mix-rails-0.22.0
- old
+ new
@@ -2,13 +2,13 @@
- array_of_resources = [:admix]
- if defined? parent_type
- array_of_resources << parent_type
- array_of_resources << resource
-= simple_form_for array_of_resources, :html => { :class => 'form-horizontal' }, wrapper: :bootstrap do |f|
+= simple_form_for array_of_resources, :html => { :class => 'form-admix' }, wrapper: :bootstrap do |f|
= f.error_notification
= render partial: "form_fields", locals: {f: f}
.form-actions
- = f.button :submit
+ = f.button :submit, class: 'btn-primary'