anchor.diff:      form.form-inline.pull-right: .input-group
         input.form-control(name='query', type='text')
         .input-group-btn: button.btn.btn-default: span.glyphicon.glyphicon-search
  +    .btn-group
  +      button.btn.btn-default.dropdown-toggle(type='button' data-toggle='dropdown' aria-haspopup='true' aria-expanded="false")
  +        | 批次操作&nbsp;
  +        span.caret
  +      ul.dropdown-menu
  +        li: a#on-shelf {{_('上架')}}
  +          i.fa.fa-eye.pull-right(aria-hidden='true')
  +        li: a#off-shelf {{_('下架')}}
  +          i.fa.fa-eye-slash.pull-right(aria-hidden='true')
  +        li: a#remove-shelf {{_('刪除')}}
  +          i.fa.fa-trash.pull-right(aria-hidden='true')
       .common_twenty
  -
  -    button#on-shelf.btn.btn-success.btn-sm 
  -      i.fa.fa-eye(aria-hidden='true')
  -      |  {{_('上架')}}
  -    button#off-shelf.btn.btn-warning.btn-sm 
  -      i.fa.fa-eye-slash(aria-hidden='true')
  -      |  {{_('下架')}}
  -    button#remove-shelf.btn.btn-danger.btn-sm 
  -      i.fa.fa-trash(aria-hidden='true')
  -      |  {{_('刪除')}}
       form.pull-right(action="/backend/DummyEntityLowerCase/sort", method='post')
         input#sorted(type='hidden' name='sorted')
         | {{csrf_field()}}
  
positive.code: include ../partial/mixins
  
  block main
    .container-fluid
      h1.page-header {{_('DummyEntity管理')}}
      include ../partial/breadcrumbs
  
negative.code:           th: .checkbox(style='margin:0;'): label
              input#checkAll(type="checkbox")
              strong {{_('全選')}}
            th {{_('展開')}}
            th {{_('DummyEntity名稱')}}
            th {{_('圖片')}}
            th {{_('顯示與否')}}
            th
              | {{_('上下架狀態')}}
              i.fa.fa-question-circle(data-toggle="tooltip" title="這裡可以加一些說明")
            th {{_('操作')}}
        tbody#sort-list
          | @forelse (d('main.collection') as $entity)
          tr(data-id!="{{$entity->id}}")
            td: input.check(type="checkbox")
            td: a.btn.btn-warning.btn-outline.btn-circle(data-toggle="collapse" data-target!="#infoRow{{$entity->id}}" class="info-toggle"): i.fa.fa-chevron-down
            td.del-name {{ $entity->name }}
            td: img.img-responsive(src!="{{carrier()->image_path($entity->main_image)}}")
            td: input(type="checkbox" name="enabled" "{{($entity->enabled) ? 'checked' : ''}}")
  