 
   components:
     'nces-search-input': NcesSearchInput
-    
+
   methods:
     updateValue: (name, value) ->
       @[name] = value

SchoolInfoPanel =
  name: 'school-info-panel'
  template: require('templates/core/create-account-modal/school-info-panel')()
  
  data: ->
    # TODO: Store ncesData in just the store?
    ncesData = _.zipObject(['nces_'+key, ''] for key in SCHOOL_NCES_KEYS)

      if name is 'district'
        @clearSchoolNcesValues()
        @clearDistrictNcesValues()

    clearDistrictNcesValues: ->
      for key in DISTRICT_NCES_KEYS
        @['nces_' + key] = ''

    clearSchoolNcesValues: ->
      for key in _.difference(SCHOOL_NCES_KEYS, DISTRICT_NCES_KEYS)
        @['nces_' + key] = ''
