 
         @model.set 'importErrorMessage', errorMessage
         @showErrors errorMessage
+

            else
                alert t 'konnector deleted'
                @model.set 'lastAutoImport', null
                @model.set 'fieldValues', {}
                @model.set 'password', '{}'
                window.router.navigate '', trigger: true


            folderButton.attr 'href', link


    addFieldWidget: (slug, name, val, values, index) ->
        if val is 'label'
            fieldHtml = """
<div class="field line #{'hidden' if val is 'hidden'}">
    <label for="#{slug}-#{name}#{index}-input">#{t(name)} : </label>
    <b id="#{slug}-#{name}#{index}-input" >#{values[name]}</b>
</div>
"""
        else if val is 'link'
            fieldHtml = """
<div class="field line #{'hidden' if val is 'hidden'}">
    <label for="#{slug}-#{name}#{index}-input">#{t(name)} : </label>
    <a target="_blank" href="#{values[name]}" id="#{slug}-#{name}#{index}-input" >
        #{values[name]}
    </a>
</div>
