app/views/iugu/account_roles/edit.html.haml in iugusdk-1.0.0.alpha.5 vs app/views/iugu/account_roles/edit.html.haml in iugusdk-1.0.0.alpha.7
- old
+ new
@@ -1,5 +1,5 @@
-= form_tag(account_roles_update_path(:id => @account.id, :user_id => @account_user.user_id)) do
+= form_tag(account_roles_update_path(@account, :user_id => @account_user.user)) do
- if current_user.is?(:owner, @account)
- APP_ROLES['roles'].each do |role|
%div
= check_box_tag "roles[]", role, @account_user.is?(role), :id => "#{role}_checkbox"