Sha256: 1a97fe4bc5d0c6aea1d9ee156fd05f5a9fe764a339eee9703ae413d452e80598

Contents?: true

Size: 1.63 KB

Versions: 4

Compression:

Stored size: 1.63 KB

Contents

.comable-page
  .comable-main-fixed-top
    .comable-page-heading
      ul.pull-right.list-inline
        li
          = link_to comable.product_path(@product), class: 'btn btn-default', target: '_blank' do
            i.fa.fa-external-link>
            = Comable.t('admin.preview')
        li.dropdown
          = link_to '#', class: 'btn btn-default', 'data-toggle' => 'dropdown' do
            i.fa.fa-bars
          ul.dropdown-menu.dropdown-menu-right
            li
              = link_to comable.product_path(@product) do
                span.fa.fa-external-link>
                = Comable.t('admin.check_this_product_in_frontend')
            - if @product.sku? || @product.stocks.empty?
              li.divider
              li.dropdown-header
                = Comable.t('admin.nav.stock')
              li
                = link_to Comable.t('admin.actions.new'), comable.new_admin_product_stock_path(@product)
        li
          = link_to_save

      h1.page-header
        ol.breadcrumb
          li>
            = link_to Comable.t('admin.nav.product'), comable.admin_products_path
          li.active
            = @product.name

  .comable-page-body
    = render 'form'
    hr
    .panel.panel-danger
      .panel-heading type="button" data-toggle="collapse" data-target="#comable-danger"
        strong
          span.fa.fa-angle-down>
          = Comable.t('admin.actions.destroy')
      #comable-danger.collapse
        .panel-body
          p
            = Comable.t('admin.confirmation_to_remove_product')
          = link_to Comable.t('admin.actions.destroy'), comable.admin_product_path(@product), method: :delete, class: 'btn btn-danger'

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
comable-backend-0.7.1 app/views/comable/admin/products/edit.slim
comable-backend-0.7.0 app/views/comable/admin/products/edit.slim
comable-backend-0.7.0.beta2 app/views/comable/admin/products/edit.slim
comable-backend-0.7.0.beta1 app/views/comable/admin/products/edit.slim