Sha256: 3e9d6ca18ee0927e4f21946b92d7dcd60827eef277bc5e24a3b05e55df14702d

Contents?: true

Size: 1.35 KB

Versions: 2

Compression:

Stored size: 1.35 KB

Contents

<% if @account.present? %>
  <dl class="dl-horizontal">
    <dt>Id:</dt>
    <dd><%= @account.account_id %>&nbsp;</dd>
    <dt>Name:</dt>
    <dd><%= @account.name %>&nbsp;</dd>
    <dt>Email:</dt>
    <dd><%= @account.email %>&nbsp;</dd>
    <dt>Bill cycle day:</dt>
    <dd><%= @account.bill_cycle_day.day_of_month_local %> (user timezone) / <%= @account.bill_cycle_day.day_of_month_utc %> (UTC)</dd>
    <dt>Currency:</dt>
    <dd><%= @account.currency %>&nbsp;</dd>
    <dt>Timezone:</dt>
    <dd><%= @account.timezone %>&nbsp;</dd>
    <dt>Address 1:</dt>
    <dd><%= @account.address1 %>&nbsp;</dd>
    <dt>Address 2:</dt>
    <dd><%= @account.address2 %>&nbsp;</dd>
    <dt>Company:</dt>
    <dd><%= @account.company %>&nbsp;</dd>
    <dt>State:</dt>
    <dd><%= @account.state %>&nbsp;</dd>
    <dt>Country:</dt>
    <dd><%= @account.country %>&nbsp;</dd>
    <dt>Phone:</dt>
    <dd><%= @account.phone %>&nbsp;</dd>
    <dt>External key:</dt>
    <dd><%= @account.external_key %>&nbsp;</dd>
    <%= render :partial => "kaui/tags/tags_table",
               :locals => { :tags => @tags, :tags_url_or_path => kaui_engine.edit_account_tags_path(:params => { :account_id => @account.account_id }) } %>
  </dl>
  <% if @payment_methods.present? %>
    <%= render :partial => "kaui/subscriptions/subscriptions_table" %>
  <% end %>

<% else %>
  <p>Account not found</p>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
kaui-0.0.5 app/views/kaui/accounts/show.html.erb
kaui-0.0.4 app/views/kaui/accounts/show.html.erb