Sha256: 2ee3afef4969ec54447115ed1d8c6cdc4de1d567efee52884d86f8250e723e6a
Contents?: true
Size: 1.14 KB
Versions: 6
Compression:
Stored size: 1.14 KB
Contents
- @page_title = t('tienda.products.products') .row .col-md-12 %h1.page-header = t('tienda.products.products') -# %small Lorem ipsum dolor / /. ROW .row .col-md-12 .pull-left .btn-group %button.btn.btn-default.dropdown-toggle{"data-toggle" => "dropdown"} = "Filter#{': ' + params[:filter].humanize unless params[:filter].blank?}" %span.caret %ul.dropdown-menu %li %a{href: products_path(filter: :active)} Active %li %a{href: products_path(filter: :inactive)} Inactive %li.divider %li %a{href: products_path(filter: :in_stock)} In stock %li %a{href: products_path(filter: :no_stock)} Not in stock %li.divider %li %a{href: products_path} All products .pull-right = link_to t('tienda.products.new_product'), :new_product, class: 'btn btn-primary' = link_to t('tienda.products.import_products'), :import_products, class: 'btn btn-default' %br .panel.panel-default .panel-heading Listing products .panel-body = render 'table', products: @products
Version data entries
6 entries across 6 versions & 1 rubygems