Sha256: b9082b57b3d7b7bea5eb53bd8ac7a15b1f1eabff8db0d31535f07d055292374e

Contents?: true

Size: 1.2 KB

Versions: 1

Compression:

Stored size: 1.2 KB

Contents

%ul.in-table.sprited-container
  %li.dropdown{:id => "#menu#bulkactions"}
    =icon_link_to('Work with...', "#menu#bulkactions", 'icon-asterisk', 'dropdown-toggle dropdown btn', '')
    %ul.sprited-element.dropdown-menu{ :class => [show.state, show.destroyable? ? "destroyable" : "" ] }
      %li
        =link_to "Door List", door_list_event_show_path(@event, @show)
      %li{:class => "sprited built published"}
        =link_to("Unpublish", unpublished_event_show_path(@event, @show), {:remote => true, 'data-type' => :json, :method => :post})
      %li{:class => "sprited built unpublished"}
        =link_to("Publish", published_event_show_path(@event, @show), {:remote => true, 'data-type' => :json, :method => :post})
      - unless show.played?
        %li{:class => "sprited built destroyable"}
          =link_to "Delete", "#delete-confirm", {'data-toggle' => 'modal'}

#delete-confirm.modal
  .modal-header
    .close{'data-dismiss'=>'modal'} x
    %h3 Delete Show
  .modal-body
    Are you sure you want to delete this show?
  .modal-footer
    = link_to "Delete", event_show_path(@event, @show), :class => 'btn btn-danger', :method => :delete
    = link_to "Cancel", "#", :class => 'btn', 'data-dismiss'=>'modal'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
artfully_ose-1.2.0.pre.23 app/views/shows/_work_with.html.haml