           cssClass      : 'solid green medium red'
           callback      : => @emit 'IntegrationCancelled'
 
+    delete formOptions.fields.repository  unless repositories.length
+
     { integrationType, isDisabled } = @getData()
 
     if integrationType is 'configured'

      <header class="integration-view">
        <img src="#{iconPath}" />
        <p>#{title}</p>
         #{summary}
      </header>
      <section class="description">
        #{description}

    { instructions } = integration
    data.repositories or= []

    @eventCheckboxes = {}

    if instructions
