Sha256: 95cec4a27d1be6e1c8c98a2ffa8c55df60964db4162e0d04a9ff69e2b44b80b4

Contents?: true

Size: 1.15 KB

Versions: 2

Compression:

Stored size: 1.15 KB

Contents

- content_for :title do "Account #{@account.id}" end

%br
%h2
  = I18n.t("iugu.account_settings") + " (##{@account.id})"

= simple_form_for @account, :url => account_update_path(:id => @account.id), :method => :put do |f|
  = f.label :name
  = f.text_field :name
  %br
  = f.label :subdomain
  = f.text_field :subdomain
  %br
  = f.submit I18n.t("iugu.save")

%br
Plan Name
= link_to I18n.t("iugu.change")

%br
%br
Custom Domains
= link_to I18n.t("iugu.manage"), account_domains_index_path(@account.id)
%br
- if @primary_domain
  Primary: 
  = @primary_domain.url

%br
%br
= link_to I18n.t("iugu.users_and_roles"), account_users_index_path(@account.id)

%br
%br
= link_to I18n.t("iugu.payment_history")

- if current_user.is?(:owner, @account) || current_user.is?(:admin, @account)
  %br
  %br
  - unless @account.destroying?
    = link_to I18n.t("iugu.cancel_account"), account_destroy_path(@account.id), :method => :delete
  - else
    - if IuguSDK::delay_account_exclusion > 0
      = link_to I18n.t("iugu.undo"), account_cancel_destruction_path(@account.id), :method => :delete
    - else
      = I18n.t("iugu.account_destruction_in") + @account.destruction_job.run_at.to_s


Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
iugusdk-1.0.0.alpha.1 app/views/iugu/settings/account.html.haml
iugusdk-1.0.0.alpha.0 app/views/iugu/settings/account.html.haml