app/views/iugu/account_roles/edit.html.haml in iugusdk-1.0.1 vs app/views/iugu/account_roles/edit.html.haml in iugusdk-1.0.2
- old
+ new
@@ -1,11 +1,11 @@
+%h1
+ Permissões
+
= form_tag(account_roles_update_path(@account, :user_id => @account_user.user)) do
- %h3
- Permissões
-
- %table
+ %table.table
%tbody
%tr
%td
= @account_user.user.email
@@ -23,8 +23,9 @@
%div{ :style => "margin-bottom: 5px" }
= check_box_tag "roles[]", role, @account_user.is?(role), :id => "#{role}_checkbox"
= label_tag "#{role}_checkbox", I18n.t("iugu.#{role}")
%div
- = submit_tag I18n.t("iugu.save"), :class => "button full-width"
+ = submit_tag I18n.t("iugu.save"), :class => "btn btn-primary btn-block"
-= link_to I18n.t("iugu.back"), account_users_index_path(account_id: params[:id]), class: "button no-bottom-margin"
+%br
+= link_to I18n.t("iugu.back"), account_users_index_path(account_id: params[:id]), class: "btn btn-primary btn-block"