Sha256: 5355c908fa1a10c7dba572d27495f8571502a32dd8b83a5109383c86dd71ad74
Contents?: true
Size: 1.04 KB
Versions: 1
Compression:
Stored size: 1.04 KB
Contents
- content_for :title do "Account Users" end - @account_users.each do |account_user| %div = account_user.user.name || account_user.user.email - if current_user.is?(:owner, @account) || current_user.is?(:admin, @account) | = link_to I18n.t("iugu.permissions"), account_roles_edit_path(:id => @account.id, :user_id => account_user.user_id) - unless account_user.destroying? - unless account_user.is?(:owner) || account_user.user_id == current_user.id | = link_to I18n.t("iugu.remove"), account_users_destroy_path(:account_id => account_user.account_id, :user_id => account_user.user_id), :method => 'delete' - else | - if IuguSDK::delay_account_user_exclusion == 0 = I18n.t("iugu.removing") - else = link_to I18n.t("iugu.undo"), account_users_cancel_destruction_path(:account_id => account_user.account_id, :user_id => account_user.user_id), :method => 'delete' %div = link_to I18n.t("iugu.invite"), new_invite_path(:account_id => @account.id)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
iugusdk-1.0.0.alpha.1 | app/views/iugu/account_users/index.html.haml |