Sha256: b63833734d5afd0854d785612b113e5a2d41d46452272b9bec5595dcb33c84cc
Contents?: true
Size: 916 Bytes
Versions: 3
Compression:
Stored size: 916 Bytes
Contents
- content_for :title do I18n.t("iugu.account_settings") end %h3 = I18n.t "iugu.account_settings" - if current_user.accounts.count > 0 %h3 - if IuguSDK::enable_multiple_accounts = I18n.t("iugu.accounts") - else - if current_user.accounts.count > 1 = I18n.t("iugu.accounts") - else = I18n.t("iugu.account") - current_user.accounts.each do |account| %div = account.name - if current_user_account.account_id == account.id | = I18n.t("iugu.active") - else | = link_to I18n.t("iugu.select"), account_select_path(:id => account.id) | = link_to I18n.t("iugu.settings"), account_view_path(:id => account.id) - else %h2 = I18n.t("iugu.i_dont_have_any_accounts") - if IuguSDK::enable_multiple_accounts == true %div = link_to I18n.t("iugu.create_account"), account_create_path, :method => :post
Version data entries
3 entries across 3 versions & 1 rubygems