Sha256: 4c5eb499826fc9344251cd03bc7a8583ca41d32004ef99dcf5dc5697badd66be

Contents?: true

Size: 919 Bytes

Versions: 10

Compression:

Stored size: 919 Bytes

Contents

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

  <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

10 entries across 10 versions & 1 rubygems

Version Path
kaui-2.0.4 app/views/kaui/accounts/_payment_methods.html.erb
kaui-2.0.3 app/views/kaui/accounts/_payment_methods.html.erb
kaui-2.0.2 app/views/kaui/accounts/_payment_methods.html.erb
kaui-2.0.1 app/views/kaui/accounts/_payment_methods.html.erb
kaui-2.0.0 app/views/kaui/accounts/_payment_methods.html.erb
kaui-1.4.1 app/views/kaui/accounts/_payment_methods.html.erb
kaui-1.4.0 app/views/kaui/accounts/_payment_methods.html.erb
kaui-1.3.0 app/views/kaui/accounts/_payment_methods.html.erb
kaui-1.2.0 app/views/kaui/accounts/_payment_methods.html.erb
kaui-1.1.0 app/views/kaui/accounts/_payment_methods.html.erb