Sha256: eecbabe2ee07d033a19b5ae6814a3268b3bde99dd9182ee82539d853549c510d

Contents?: true

Size: 1.45 KB

Versions: 7

Compression:

Stored size: 1.45 KB

Contents

.comable-page
  .comable-main-fixed-top
    .comable-page-heading
      ul.pull-right.list-inline
        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

7 entries across 7 versions & 2 rubygems

Version Path
comable-backend-0.6.0 app/views/comable/admin/products/edit.slim
comable_backend-0.5.0 app/views/comable/admin/products/edit.slim
comable_backend-0.4.2 app/views/comable/admin/products/edit.slim
comable_backend-0.4.1 app/views/comable/admin/products/edit.slim
comable_backend-0.4.0 app/views/comable/admin/products/edit.slim
comable_backend-0.3.4 app/views/comable/admin/products/edit.slim
comable_backend-0.3.3 app/views/comable/admin/products/edit.slim