Sha256: f9962967efb1b306c78b1eab72997052c626a8980f358b25526d88767f2c7c78

Contents?: true

Size: 889 Bytes

Versions: 37

Compression:

Stored size: 889 Bytes

Contents

- in_section :events
- content_for :header do
  %h1 Ticketing and Events

.row
  %p
    = "Are you sure you want to comp #{pluralize(@selected_tickets.size, 'ticket')}"
    = " to \"#{@comp.recipient.first_name} #{@comp.recipient.last_name}\""
    = " for the #{l @show.datetime_local_to_event, :format=> :date_at_time} show"
    = " of #{@show.event.name}?"
  %p= "Reason for comp is: #{@comp.reason}"
  = form_for @comp do |form|
    = hidden_field_tag :confirmed, :true
    = hidden_field_tag :show_id, @show.id
    - @selected_tickets.each do |st|
      =hidden_field_tag "selected_tickets[]", st
    = hidden_field_tag :person_id, @comp.recipient.id
    = hidden_field_tag :reason_for_comp, @comp.reason
    %p If this is correct, please click confirm it by clicking
    = submit_tag "Confirm", :class => "btn"

  %p= link_to "Cancel Ticket Comp", event_show_path(@show.event, @show)

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
artfully_ose-1.3.0.pre4 app/views/comps/comp_confirm.html.haml
artfully_ose-1.3.0.pre3 app/views/comps/comp_confirm.html.haml
artfully_ose-1.3.0.pre2 app/views/comps/comp_confirm.html.haml
artfully_ose-1.3.0.pre1 app/views/comps/comp_confirm.html.haml
artfully_ose-1.2.0 app/views/comps/comp_confirm.html.haml
artfully_ose-1.2.0.beta.1 app/views/comps/comp_confirm.html.haml
artfully_ose-1.2.0.alpha.2 app/views/comps/comp_confirm.html.haml
artfully_ose-1.2.0.alpha.1 app/views/comps/comp_confirm.html.haml
artfully_ose-1.2.0.pre.27 app/views/comps/comp_confirm.html.haml
artfully_ose-1.2.0.pre.26 app/views/comps/comp_confirm.html.haml
artfully_ose-1.2.0.pre.24 app/views/comps/comp_confirm.html.haml
artfully_ose-1.2.0.pre.23 app/views/comps/comp_confirm.html.haml
artfully_ose-1.2.0.pre.21 app/views/comps/comp_confirm.html.haml
artfully_ose-1.2.0.pre.20 app/views/comps/comp_confirm.html.haml
artfully_ose-1.2.0.pre.19 app/views/comps/comp_confirm.html.haml
artfully_ose-1.2.0.pre.18 app/views/comps/comp_confirm.html.haml
artfully_ose-1.2.0.pre.17 app/views/comps/comp_confirm.html.haml
artfully_ose-1.2.0.pre.16 app/views/comps/comp_confirm.html.haml
artfully_ose-1.2.0.pre.15 app/views/comps/comp_confirm.html.haml
artfully_ose-1.2.0.pre.12 app/views/comps/comp_confirm.html.haml