Sha256: 9b5493155164b77780d27639ed87f58ee311f11543759c2c86fe0f58ceefddbe
Contents?: true
Size: 1.5 KB
Versions: 1
Compression:
Stored size: 1.5 KB
Contents
<table class="as-search"> <tr> <th><%= Trade::Payment.human_attribute_name(:type) %></th> <td> <%= link_to t('.all'), filter_params(except: [:type]), class: active_params(type: '', active: 'button is-info', item: 'button is-light') %> <% Trade::Payment.options_i18n(:type).each do |text, type| %> <%= link_to text, filter_params(type: type), class: active_params(type: type, active: 'button is-info', item: 'button is-light') %> <% end %> </td> </tr> <tr> <th><%= Trade::Payment.human_attribute_name(:state) %></th> <td> <%= link_to t('.all'), filter_params(except: [:state]), class: active_params(state: '', active: 'button is-info', item: 'button is-light') %> <% Trade::Payment.options_i18n(:state).each do |text, state| %> <%= link_to text, filter_params(state: state), class: active_params(state: state, active: 'button is-info', item: 'button is-light') %> <% end %> </td> </tr> <tr> <th><%= Trade::PaymentOrder.human_attribute_name(:state) %></th> <td> <%= link_to t('.all'), filter_params(except: [:'payment_orders.state']), class: active_params('payment_orders.state': '', active: 'button is-info', item: 'button is-light') %> <% Trade::PaymentOrder.options_i18n(:state).each do |text, state| %> <%= link_to text, filter_params('payment_orders.state': state), class: active_params('payment_orders.state': state, active: 'button is-info', item: 'button is-light') %> <% end %> </td> </tr> </table>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rails_trade-0.0.3 | app/views/trade/admin/payments/_filter_table.html.erb |