Sha256: 8df900a4482cbb6bca5ba7f317587235c3087e5800e7378e53e83f14e80efbce

Contents?: true

Size: 902 Bytes

Versions: 2

Compression:

Stored size: 902 Bytes

Contents

.card.mb-4
  .card-body
    - if f.object.purchased?
      = f.static_field :event_ticket, label: 'Purchased ticket'
    - else
      = f.select :event_ticket_id, effective_events_event_tickets_collection(event), label: 'Ticket'

    - if f.object.purchased? && namespace == :admin
      = f.select :event_ticket_id, effective_events_event_tickets_collection(event), label: 'Change Ticket', hint: 'Admin only. Change the purchased ticket. This will not create charges, alter the original order, or consider ticket capacity.'

    .row
      .col-lg= f.text_field :first_name
      .col-lg= f.text_field :last_name
      .col-lg= f.text_field :number, label: 'Professional Designations', hint: 'Include member or registrant number, if applicable.'

    .row
      .col-lg= f.email_field :email
      .col-lg= f.text_field :company

    = f.text_area :notes, label: 'Dietary restrictions or other notes'

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
effective_events-0.3.0 app/views/effective/event_registrants/_fields.html.haml
effective_events-0.2.8 app/views/effective/event_registrants/_fields.html.haml