<h3>
  <span>{{ editListCfg.dataModule + '.' + editListCfg.resource_type + '.delete' | translate}}</span> 
</h3>

<form ng-submit="editListCfg.removeFunction(selected_resource_index);closeThisDialog()" class="form-horizontal"
  role="form">
  <div class="form-group">
    <div class="col col-xs-12" ng-if="!editListCfg.deleteConfirmText && !editListCfg.deleteConfirmTextSpecial &&  !currentSelectionIsMultiple && !allowMultipleSelectionAttribute">
      <translate>common.delete_confirm</translate> <strong>{{edit_resource.alias}}</strong> <translate ng-if="editListCfg.resource_type === 'datastores'">common.delete_all_components_confirm</translate> ?
    </div>
    <div class="col col-xs-12" ng-if="!editListCfg.deleteConfirmText && !editListCfg.deleteConfirmTextSpecial &&  (currentSelectionIsMultiple || allowMultipleSelectionAttribute)">
      {{deleteAttMultiConfirm}} 
    </div>
    <div class="col col-xs-12" ng-if="editListCfg.deleteConfirmText" >
      <translate>common.delete_confirm</translate> <strong>{{edit_resource.name}}</strong> {{editListCfg.deleteConfirmText}} ?
    </div>
    <div class="col col-xs-12" ng-if="editListCfg.deleteConfirmTextSpecial" >
      <translate>{{editListCfg.deleteConfirmTextSpecial}}</translate> <strong>{{edit_resource.name}}</strong>?
    </div>
  </div>
  <div class="form-group">
    <div class="col col-xs-12">
      <button class="btn btn-danger center-block">
        <translate>common.delete</translate>
      </button>
    </div>
  </div>
</form>