Sha256: da1d9106405de1c1eb3201d331b76bd21941e70d4ebb20862dbc51d4a9c0b8a4

Contents?: true

Size: 1.13 KB

Versions: 12

Compression:

Stored size: 1.13 KB

Contents

= tabs do
  = tab "Learndash Course" do
    = render 'admin/learndash_courses/form_learndash_course', learndash_course: learndash_course

  - if learndash_course.persisted?
    = tab 'Enrollments' do
      %h2 Enrollments
      %p Click the New button from the below table to enroll a user into this course.
      %p Enrolling a user here will enroll them on the LearnDash site.
      %p Alternately, if this course is available for registration, the enrollment will be created upon registration purchase.

      - datatable = Admin::EffectiveLearndashEnrollmentsDatatable.new(learndash_course: learndash_course)
      = render_datatable(datatable, inline: true)

    = tab 'Registrations' do
      %h2 Purchases
      - datatable = Admin::EffectiveCourseRegistrationsDatatable.new(learndash_course: learndash_course)
      = render_inline_datatable(datatable)

    = tab 'Wizard' do
      = render '/admin/learndash_courses/form_course_registration_content', learndash_course: learndash_course

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

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
effective_learndash-0.4.0 app/views/admin/learndash_courses/_form.html.haml
effective_learndash-0.3.3 app/views/admin/learndash_courses/_form.html.haml
effective_learndash-0.3.2 app/views/admin/learndash_courses/_form.html.haml
effective_learndash-0.3.1 app/views/admin/learndash_courses/_form.html.haml
effective_learndash-0.3.0 app/views/admin/learndash_courses/_form.html.haml
effective_learndash-0.2.1 app/views/admin/learndash_courses/_form.html.haml
effective_learndash-0.2.0 app/views/admin/learndash_courses/_form.html.haml
effective_learndash-0.1.9 app/views/admin/learndash_courses/_form.html.haml
effective_learndash-0.1.8 app/views/admin/learndash_courses/_form.html.haml
effective_learndash-0.1.7 app/views/admin/learndash_courses/_form.html.haml
effective_learndash-0.1.6 app/views/admin/learndash_courses/_form.html.haml
effective_learndash-0.1.5 app/views/admin/learndash_courses/_form.html.haml