Payment Methods <% if can? :create, Kaui::PaymentMethod %> <%= link_to ''.html_safe, kaui_engine.new_payment_method_path(:account_id => @account.account_id), :class => 'btn btn-xs' %> <%= form_tag kaui_engine.refresh_payment_methods_path(params.to_h), :method => :post, :class => 'form-force-inline form-right' do %> <%= button_tag ''.html_safe, :class => 'btn btn-xs' %> <% end %> <% end %>

<% unless @payment_methods.empty? %>
<%= 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} %>
<% end %>