Sha256: 19f8e33e6c8f22eadb0f375bae014ac765a68b6cd96dcc3aa2e5265f5e8cb08d

Contents?: true

Size: 698 Bytes

Versions: 17

Compression:

Stored size: 698 Bytes

Contents

= render 'layout' do
  = render 'effective/course_registrations/content', resource: resource

  = card('Course') do
    %p= resource.learndash_course
    %p= price_to_currency(resource.registration_price)

    = effective_form_with(model: resource, url: wizard_path(step), method: :put) do |f|
      = f.hidden_field :id

      = f.fields_for :course_registrants, (f.object.course_registrant || f.object.build_course_registrant) do |fr|
        = fr.hidden_field :course_registration_id
        = fr.hidden_field :course_registration_type

        = fr.hidden_field :owner_id
        = fr.hidden_field :owner_type

        = fr.hidden_field :learndash_course_id

      = f.save 'Save and Continue'

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
effective_learndash-0.6.1 app/views/effective/course_registrations/course.html.haml
effective_learndash-0.6.0 app/views/effective/course_registrations/course.html.haml
effective_learndash-0.5.2 app/views/effective/course_registrations/course.html.haml
effective_learndash-0.5.1 app/views/effective/course_registrations/course.html.haml
effective_learndash-0.5.0 app/views/effective/course_registrations/course.html.haml
effective_learndash-0.4.0 app/views/effective/course_registrations/course.html.haml
effective_learndash-0.3.3 app/views/effective/course_registrations/course.html.haml
effective_learndash-0.3.2 app/views/effective/course_registrations/course.html.haml
effective_learndash-0.3.1 app/views/effective/course_registrations/course.html.haml
effective_learndash-0.3.0 app/views/effective/course_registrations/course.html.haml
effective_learndash-0.2.1 app/views/effective/course_registrations/course.html.haml
effective_learndash-0.2.0 app/views/effective/course_registrations/course.html.haml
effective_learndash-0.1.9 app/views/effective/course_registrations/course.html.haml
effective_learndash-0.1.8 app/views/effective/course_registrations/course.html.haml
effective_learndash-0.1.7 app/views/effective/course_registrations/course.html.haml
effective_learndash-0.1.6 app/views/effective/course_registrations/course.html.haml
effective_learndash-0.1.5 app/views/effective/course_registrations/course.html.haml