Sha256: 86ccdb2f2274b913c51820ebecaeef27327277d0ec1d282987d9956527afaaaa

Contents?: true

Size: 909 Bytes

Versions: 4

Compression:

Stored size: 909 Bytes

Contents

<div class="col-md-6">

  <div class="column-block">

    <h1>Payment Methods
      <% if can? :create, Kaui::PaymentMethod %>
          <%= link_to '<i class="fa fa-plus-square"></i>'.html_safe,
                      kaui_engine.new_payment_method_path(:account_id => @account.account_id),
                      :class => 'btn btn-xs' %>
      <% end %>
    </h1>

    <% unless @payment_methods.empty? %>
        <div class="info-wrapper">

          <%= render :partial => 'kaui/payment_methods/payment_methods_table', :locals => {:account => @account,
                                                                                           :payment_methods => @payment_methods,
                                                                                           :last_transaction_by_payment_method_id => @last_transaction_by_payment_method_id} %>

        </div>
    <% end %>

  </div>

</div>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
kaui-1.0.0 app/views/kaui/accounts/_payment_methods.html.erb
kaui-0.16.2 app/views/kaui/accounts/_payment_methods.html.erb
kaui-0.16.1 app/views/kaui/accounts/_payment_methods.html.erb
kaui-0.16.0 app/views/kaui/accounts/_payment_methods.html.erb