Sha256: 69d19ea3948909671f2596f17fe685b1712f0a28d57027271f1e2e0559c2bfcd
Contents?: true
Size: 1.06 KB
Versions: 1
Compression:
Stored size: 1.06 KB
Contents
<table class="as-search"> <tr> <th><%= Trade::Order.human_attribute_name(:payment_status) %></th> <td> <%= link_to t('.all'), filter_params(except: [:payment_status]), class: active_params(payment_status: '', active: 'button is-info', item: 'button is-light') %> <% Trade::Order.options_i18n(:payment_status).each do |text, value| %> <%= link_to text, filter_params(payment_status: value, except: [:id]), class: active_params(payment_status: value, active: 'button is-info', item: 'button is-light') %> <% end %> </td> </tr> <tr> <th><%= Trade::Order.human_attribute_name(:payment_type) %></th> <td> <%= link_to t('.all'), filter_params(except: [:payment_type]), class: active_params(payment_type: '', active: 'button is-info', item: 'button is-light') %> <% Trade::Order.options_i18n(:payment_type).each do |text, value| %> <%= link_to text, filter_params(payment_type: value), class: active_params(payment_type: value, 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/orders/_filter_table.html.erb |