Sha256: 893998567062d7d2d5bbfb459dd73014ecc4f57d412ee803d35fd1bcf406d835
Contents?: true
Size: 1.76 KB
Versions: 16
Compression:
Stored size: 1.76 KB
Contents
%h2 = I18n.t("iugu.account_domains") + " (##{@account.id})" - if flash[:group] == :account_domain = flash[:notice] - if IuguSDK::enable_account_alias == true %div = simple_form_for @account, :url => update_subdomain_path(:id => @account.id), :method => :put do |f| - if @account.errors.any? #error_explanation{ :style => "margin-bottom: 15px" } %ul - @account.errors.full_messages.each do |msg| %li = msg = f.label :subdomain = f.text_field :subdomain = f.submit I18n.t("iugu.save") - if IuguSDK::enable_custom_domain == true %div = simple_form_for @account_domain, :url => create_domain_path(@account.id) do |f| - if @account_domain.errors.any? #error_explanation{ :style => "margin-bottom: 15px" } %ul - @account_domain.errors.full_messages.each do |msg| %li = msg = f.text_field :url = f.submit I18n.t("iugu.add") %br %div - @account_domains.each do |domain| %div = domain.url - if domain.primary | = I18n.t("iugu.primary") - else - if domain.verified | = link_to I18n.t("iugu.set_primary"), primary_domain_path(:account_id => @account.id, :domain_id => domain.id), :method => :post | - if domain.verified = I18n.t("iugu.verified") - else = link_to I18n.t("iugu.not_verified"), account_domains_instructions_path(:account_id => @account.id, :domain_id => domain.id) - if current_user.is?(:owner, @account) | = link_to I18n.t("iugu.remove"), account_domains_destroy_path(:account_id => @account.id, :domain_id => domain.id), :method => :delete
Version data entries
16 entries across 16 versions & 1 rubygems