Sha256: 463a9933d7f8ba557b0fad17f5124a6d00edae44311bc48f0e885bdd499b8ad3

Contents?: true

Size: 850 Bytes

Versions: 6

Compression:

Stored size: 850 Bytes

Contents

- if @enrolled_students && @enrolled_students.include?(student.id.to_s)
	td.vm-tc = image_tag 'check.png', class: 'enrolled'
- elsif @selected_students
  td.vm-tc = check_box_tag "","", (@selected_students.include?('student-'+student.id.to_s) ? true : false), class: "student-check student-#{student.id}", id: "student-#{student.id}"
- else
  td.vm-tc = check_box_tag "","", false, class: "student-check student-#{student.id}", id: "student-#{student.id}"

= render 'gaku/shared/fields/person_fields', person: student

td.class-name = student.class_and_number
td.admitted = student.admitted
td.address = student.primary_address
td.contact = student.primary_contact


td.assignments
  - student.addresses_count.times do
    = address_icon
  - student.contacts_count.times do
    = contact_icon
  - student.guardians_count.times do
    = guardian_icon

Version data entries

6 entries across 6 versions & 2 rubygems

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