Sha256: 329604e84baf62e7cb08150090981039b418a7057c1240403d50c4f3a34cedb8

Contents?: true

Size: 657 Bytes

Versions: 14

Compression:

Stored size: 657 Bytes

Contents

- if not show.played?
  = form_tag unpublished_event_show_path(show.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.stats.datetime_local_to_event} show."

  = form_tag published_event_show_path(show.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.stats.datetime_local_to_event} show."

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
artfully_ose-1.2.0.pre.21 app/views/shows/_controls.html.haml
artfully_ose-1.2.0.pre.20 app/views/shows/_controls.html.haml
artfully_ose-1.2.0.pre.19 app/views/shows/_controls.html.haml
artfully_ose-1.2.0.pre.18 app/views/shows/_controls.html.haml
artfully_ose-1.2.0.pre.17 app/views/shows/_controls.html.haml
artfully_ose-1.2.0.pre.16 app/views/shows/_controls.html.haml
artfully_ose-1.2.0.pre.15 app/views/shows/_controls.html.haml
artfully_ose-1.2.0.pre.12 app/views/shows/_controls.html.haml
artfully_ose-1.2.0.pre.11 app/views/shows/_controls.html.haml
artfully_ose-1.2.0.pre.10 app/views/shows/_controls.html.haml
artfully_ose-1.2.0.pre.9 app/views/shows/_controls.html.haml
artfully_ose-1.2.0.pre.8 app/views/shows/_controls.html.haml
artfully_ose-1.2.0.pre.7 app/views/shows/_controls.html.haml
artfully_ose-1.2.0.pre.6 app/views/shows/_controls.html.haml