         else
           console.log 'missing'
 
-    # _(@$el.find('input.enabled')).each (enabled) ->
-    #   enabled = $(enabled)
-
-    # enabled = $(".enabled:checked").map ->
-    #   $(@).val()
-    #
-    for consumerName of @parametersByConsumer()
-      @enabledMappings.push consumerName
-
     @model.signup parameters, @enabledMappings, error: @displayErrors
     $.modal.close()
 

        on: 'Enabled', 
        off: 'Disabled' 
      },
      on: true,
      width: 90
    })

    # Handle clicking on consumer state toggles
    @$el.find('.integration-toggle').on 'toggle', (event, active) =>
      if active
        @model.enableMappings()
      else
        @model.disableMappings()

    @listClickHandlers()


        _($(value).find('.list-row')).each (element) ->
          key = $(element).find('input[name=key]').val()
          value = $(element).find('input[name=value]').val()
          if key && value
            currentValue[key] = value
        finalValue.push currentValue
      finalValueJSON = JSON.stringify(finalValue)
      @$el.append("<input class='parameter_value' name='#{paramName}' type='hidden' value='#{finalValueJSON}' />")

  save: (event) ->
    event.preventDefault()
