Sha256: c0d86a2aabc005bd26d21b965833ba6f139099eec716728ee90d8f7a20d4d6ac

Contents?: true

Size: 633 Bytes

Versions: 12

Compression:

Stored size: 633 Bytes

Contents

- if not show.played?
  = form_tag unpublished_event_show_path(@event, show), :remote => true, :'data-type' => :json, :class => "sprited published", :id => "show_#{show.id}" do
    = submit_tag "Unpublish", :class => [ 'btn', 'btn-mini' ]
    .confirmation.dialog
      %p= "You are unpublishing the #{l show.parsed_local_datetime} show."

  = form_tag published_event_show_path(@event, show), :remote => true, :'data-type' => :json, :class => "sprited built unpublished" do
    = submit_tag "Publish", :class => [ 'btn', 'btn-mini' ]
    .confirmation.dialog
      %p= "You are publishing the #{l show.parsed_local_datetime} show."

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
artfully_ose-1.3.0.pre4 app/views/shows/_controls.html.haml
artfully_ose-1.3.0.pre3 app/views/shows/_controls.html.haml
artfully_ose-1.3.0.pre2 app/views/shows/_controls.html.haml
artfully_ose-1.3.0.pre1 app/views/shows/_controls.html.haml
artfully_ose-1.2.0 app/views/shows/_controls.html.haml
artfully_ose-1.2.0.beta.1 app/views/shows/_controls.html.haml
artfully_ose-1.2.0.alpha.2 app/views/shows/_controls.html.haml
artfully_ose-1.2.0.alpha.1 app/views/shows/_controls.html.haml
artfully_ose-1.2.0.pre.27 app/views/shows/_controls.html.haml
artfully_ose-1.2.0.pre.26 app/views/shows/_controls.html.haml
artfully_ose-1.2.0.pre.24 app/views/shows/_controls.html.haml
artfully_ose-1.2.0.pre.23 app/views/shows/_controls.html.haml