Skip to content

Commit

Permalink
Update button class to Bootstrap 3.
Browse files Browse the repository at this point in the history
Bootstrap 3 .btn class is not intented to be used without a modifier (i.e. btn-default).
  • Loading branch information
flachware committed Oct 1, 2015
1 parent 974b572 commit 59e93e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/rails_admin/main/_submit_buttons.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
- if authorized? :edit, @abstract_model
%button.btn.btn-info{type: "submit", name: "_add_edit", :'data-disable-with' => t("admin.form.save_and_edit")}
= t("admin.form.save_and_edit")
%button.btn{type: "submit", name: "_continue", :'data-disable-with' => t("admin.form.cancel"), :formnovalidate => true}
%button.btn.btn-default{type: "submit", name: "_continue", :'data-disable-with' => t("admin.form.cancel"), :formnovalidate => true}
%i.icon-remove
= t("admin.form.cancel")

0 comments on commit 59e93e8

Please sign in to comment.