Sha256: e2138c3e4c486e2e0f03bc45cf7c68d2c2713bc2022d2afd538d54232217ec32

Contents?: true

Size: 936 Bytes

Versions: 6

Compression:

Stored size: 936 Bytes

Contents

.row-fluid
  .span12 style="margin-top:10px;"
    = form_tag( enroll_students_class_group_enrollments_path, method: "post", id: "enroll-to-class-form", remote: true) do
      .row-fluid
        .span12
          = select_tag "class_group_id", options_from_collection_for_select(@class_groups, :id, :name), {class: "class_group-select"}
          = hidden_field_tag "source", "class_groups"
      .row-fluid
        = submit_tag t(:enroll_to_class), class: 'btn btn-primary'
.row-fluid
  .span12 style="margin-top:10px;"
    = form_tag( enroll_students_course_enrollments_path, method: "post", id: "enroll-to-course-form", remote: true) do
      .row-fluid
        .span12
          = select_tag "course_id", options_from_collection_for_select(@courses, :id, :code), {class: "class_group-select"}
          = hidden_field_tag "source", "courses"
      .row-fluid
        = submit_tag t('course_enrollment.add'), class: 'btn btn-primary'

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
gaku_core-0.0.3 app/views/gaku/shared/student_chooser/_student.html.slim
gaku-0.0.3 core/app/views/gaku/shared/student_chooser/_student.html.slim
gaku-0.0.2 core/app/views/gaku/shared/student_chooser/_student.html.slim
gaku_core-0.0.2 app/views/gaku/shared/student_chooser/_student.html.slim
gaku-0.0.1 core/app/views/gaku/shared/student_chooser/_student.html.slim
gaku_core-0.0.1 app/views/gaku/shared/student_chooser/_student.html.slim