Sha256: 46c570829c0896bba4767c54203b6b3b9f142a092ee7eb1a4930065ba26d6dd2

Contents?: true

Size: 744 Bytes

Versions: 6

Compression:

Stored size: 744 Bytes

Contents

<%- if @course.errors.any? %>
  $('#new-course-class-group-form-errors').html('<%= render_js_partial("gaku/shared/errors", {target: @course}) %>');
<%- else %>
  $("#new-course-class-group-form-errors").html("");
  <% @not_added_students.each {|enrollment| %>
  $('#course-students-index tbody').append('<%= render_js_partial("gaku/courses/enrollments/enrolled", {enrollment: enrollment}) %>');
  <% } %>

  $('#new-course-class-group-link').show();
  $('#new-course-class-group').slide();

  $('#new-course-enrollment-tab-link').html('<%= print_count(@course.students.count, t_student_plural) %>');
  $('.course-students-count').html('<%= print_count(@course.students.count, t_student_list) %>');
<% end %>
showNotice("<%= render_flash %>");

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
gaku_core-0.0.3 app/views/gaku/courses/enrollments/class_groups/enroll.js.erb
gaku-0.0.3 core/app/views/gaku/courses/enrollments/class_groups/enroll.js.erb
gaku-0.0.2 core/app/views/gaku/courses/enrollments/class_groups/enroll.js.erb
gaku_core-0.0.2 app/views/gaku/courses/enrollments/class_groups/enroll.js.erb
gaku-0.0.1 core/app/views/gaku/courses/enrollments/class_groups/enroll.js.erb
gaku_core-0.0.1 app/views/gaku/courses/enrollments/class_groups/enroll.js.erb