Sha256: 298332fd8b5269c1a1ec071643d5c6126369b2fa68f00f0704d696d5d44b2833

Contents?: true

Size: 697 Bytes

Versions: 15

Compression:

Stored size: 697 Bytes

Contents

- if event.participant_form_fields.any?
  .row
    .col-lg-12
      %h1
        = t('.registration')
      - class_name = 'tramway_event_participant'
      = simple_form_for @participant_form, url: ::Tramway::Event::Engine.routes.url_helpers.participants_path, method: :post, html: { class: class_name, id: class_name } do |f|
        = f.input :event_id, as: :hidden, input_html: { value: event.id, class: class_name, id: "#{class_name}_event_id", name: "#{class_name}[event_id]" }
        - event.participant_form_fields.inputs_list.each do |field|
          = render 'tramway/core/shared/input_extended', field: field, class_name: class_name, f: f
        = f.button :submit, t('.submit_form')

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
tramway-event-1.7.2 app/views/tramway/event/participants/_form.html.haml
tramway-event-1.7.1 app/views/tramway/event/participants/_form.html.haml
tramway-event-1.7 app/views/tramway/event/participants/_form.html.haml
tramway-event-1.6.4 app/views/tramway/event/participants/_form.html.haml
tramway-event-1.6.3 app/views/tramway/event/participants/_form.html.haml
tramway-event-1.6.2 app/views/tramway/event/participants/_form.html.haml
tramway-event-1.6.1 app/views/tramway/event/participants/_form.html.haml
tramway-event-1.6 app/views/tramway/event/participants/_form.html.haml
tramway-event-1.5.4 app/views/tramway/event/participants/_form.html.haml
tramway-event-1.5.3 app/views/tramway/event/participants/_form.html.haml
tramway-event-1.5.2 app/views/tramway/event/participants/_form.html.haml
tramway-event-1.5.1 app/views/tramway/event/participants/_form.html.haml
tramway-event-1.5 app/views/tramway/event/participants/_form.html.haml
tramway-event-1.4 app/views/tramway/event/participants/_form.html.haml
tramway-event-1.3 app/views/tramway/event/participants/_form.html.haml