Sha256: 62fb78002ac08be66bd1f5552c5bfa8a5b9519fe9f21db60e2f283cb82bfd9c3
Contents?: true
Size: 569 Bytes
Versions: 6
Compression:
Stored size: 569 Bytes
Contents
<%- if @class_group_enrollment.errors.any? %> $('.validation-error').html("<%= render_js_partial('/gaku/shared/errors', target: @class_group_enrollment) %>") <% else %> showNotice("<%= render_flash %>"); $('td#class-enrollment-name').html('<%= @class_group.name %>'); $('td#class-enrollment-seat-number').html('<%= @class_group_enrollment.seat_number %>'); $('.validation-error').html(''); $('#class-group').text('<%= "#{@student.class_groups.last.grade.try(:to_s)} - #{@class_group.name}" %>'); $('#new-class-group-enrollment-modal').modal('hide'); <% end %>
Version data entries
6 entries across 6 versions & 2 rubygems