     already_existed = true
     unless $("#enrollment_" + enrollment.id).length
       already_existed = false
-      $enrollment = $enrollment_blank.clone(true).fillTemplateData(
+      $enrollment = UL.$enrollment_blank.clone(true).fillTemplateData(
         textValues: [ "name", "membership_type", "email", "enrollment_id" ]
         id: "enrollment_" + enrollment.id
         hrefValues: [ "id", "user_id", "pseudonym_id", "communication_channel_id" ]


import INST from 'browser-sniffer'
import {useScope as useI18nScope} from '@canvas/i18n'
import $ from 'jquery'
import '@canvas/jquery/jquery.ajaxJSON'
import '@canvas/forms/jquery/jquery.instructure_forms'

    UL.updateCounts()
    if already_existed then 1 else 0

ready -> $(UL.init)

export default UL
