Sha256: d742d50f13279f63a5356ee7be2c1d8652ee74a4fbff97283aceb44a6cc9f7e9

Contents?: true

Size: 1.61 KB

Versions: 6

Compression:

Stored size: 1.61 KB

Contents

= tabs do
  = tab "Event" do
    = render 'admin/events/form_event', event: event

  - if event.persisted?
    = tab 'Content' do
      = render '/admin/events/form_content', event: event

  - if event.persisted? && !event.external_registration?
    = tab 'Tickets & Products' do
      %h2 Tickets
      - datatable = Admin::EffectiveEventTicketsDatatable.new(event_id: event.id)
      = render_inline_datatable(datatable)

      %h2 Products
      - datatable = Admin::EffectiveEventProductsDatatable.new(event_id: event.id)
      = render_inline_datatable(datatable)

    -# = tab 'Registrations' do
    -#   %h2 Registrations
    -#   - datatable = Admin::EffectiveEventRegistrationsDatatable.new(event_id: event.id)
    -#   .mb-4= render_inline_datatable(datatable)

    = tab 'Registrants & Addons' do
      %h2 Registrants
      - datatable = Admin::EffectiveEventRegistrantsDatatable.new(event_id: event.id)
      .mb-4= render_inline_datatable(datatable)

      %h2 Add-ons
      - datatable = Admin::EffectiveEventAddonsDatatable.new(event_id: event.id)
      .mb-4= render_inline_datatable(datatable)

    = tab 'Wizard' do
      = render '/admin/events/form_event_registration_content', event: event

    = tab 'Email' do
      %p Click New to add one or more emails.

      - datatable = Admin::EffectiveEventNotificationsDatatable.new(event_id: event.id)
      = render_datatable(datatable, inline: true, simple: true)

    = tab 'Access' do
      = render '/admin/events/form_access', event: event

    - if event.respond_to?(:log_changes_datatable)
      = tab "Logs" do
        = render_inline_datatable(event.log_changes_datatable)

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
effective_events-0.7.1 app/views/admin/events/_form.html.haml
effective_events-0.7.0 app/views/admin/events/_form.html.haml
effective_events-0.6.13 app/views/admin/events/_form.html.haml
effective_events-0.6.12 app/views/admin/events/_form.html.haml
effective_events-0.6.11 app/views/admin/events/_form.html.haml
effective_events-0.6.10 app/views/admin/events/_form.html.haml