Sha256: 969a4bd1f86e065830e865f33889376be37204971c2204d9b1996791d66c6bf3
Contents?: true
Size: 1.69 KB
Versions: 7
Compression:
Stored size: 1.69 KB
Contents
= render 'layout' do .effective-event - if @event.sold_out? .alert.alert-warning.mb-3 This event is sold out. - if @event.closed? .alert.alert-warning.mb-3 This event is no longer available. - if @event.registerable? .resource-buttons - url = @event.external_registration_url.presence || effective_events.new_event_event_registration_path(@event) = link_to 'Register', url, class: 'btn btn-primary' - if @event.file.attached? = image_tag(@event.file) - if @event.file.attached? = image_tag(@event.file) %ul.list-unstyled -# Not shown %li %strong Published: = @event.published_at.strftime("%b %d, %Y %I:%M%P") %li %strong Event Date: = effective_events_event_schedule(@event) - if @event.registration_start_at.present? %li %strong Registration Opens: = @event.registration_start_at.strftime("%b %d, %Y %I:%M%P") - if @event.early_bird_end_at.present? %li %strong Early Bird Rate Ends: = @event.early_bird_end_at.strftime("%b %d, %Y %I:%M%P") - if @event.registration_end_at.present? %li %strong Registration Closes: = @event.registration_end_at.strftime("%b %d, %Y %I:%M%P") - if @event.event_tickets.present? %li %strong Tickets %ul - @event.event_tickets.each do |ticket| %li= "#{ticket} (#{price_to_currency(ticket.price)})" - if @event.event_products.present? %li %strong Add-ons %ul - @event.event_products.each do |product| %li= "#{product} (#{price_to_currency(product.price)})" - if @event.body.present? = @event.body.to_s
Version data entries
7 entries across 7 versions & 1 rubygems