<label>{{confirmMsg}}</label>

<br />

<div class="form-group clearfix">
  <div class="col-xs-6">
    <label><translate>adminparam.columntitle_type</translate></label>
    <input
      class="form-control"
      type="text"
      ng-model="temp_edit_resource.type"
    />
  </div>
  <div class="col-xs-6">
    <label><translate>adminparam.columntitle_name</translate></label>
    <input
      class="form-control"
      type="text"
      ng-model="temp_edit_resource.name"
    />
  </div>
</div>

<div class="form-group clearfix">
  <div class="col-xs-6">
    <label><translate>adminparam.columntitle_creationdate</translate></label>
    <span>
      {{ temp_edit_resource.datecreation | date:'dd/MM/yyyy'}}
    </span>
  </div>
  <div class="col-xs-6">
    <label
      ><translate>adminparam.columntitle_modificationdate</translate></label
    >
    <span>
      {{ temp_edit_resource.datemodification | date:'dd/MM/yyyy'}}
    </span>
  </div>
</div>

<div class="form-group clearfix">
  <div class="col-xs-6">
    <label><translate>adminparam.columntitle_description</translate></label>
    <input
      class="form-control"
      type="text"
      ng-model="temp_edit_resource.description"
    />
  </div>
  <div class="col-xs-6">
    <label><translate>adminparam.columntitle_login</translate></label
    ><br />
    <span>
      {{ temp_edit_resource.login }}
    </span>
  </div>
</div>
<div
  class="form-group clearfix"
  ng-if="temp_edit_resource.type == 'MAP_MODELS_USERS'"
>
  <div class="col-xs-6">
    <label><translate>adminparam.columntitle_category</translate></label>
    <input
      class="form-control"
      type="text"
      ng-model="temp_edit_resource.category"
    />
  </div>
</div>

<br />

<button
  type="button"
  class="btn btn-default"
  title="{{'adminparam.btn_cancel' | translate}}"
  ng-click="closeThisDialog('Annulation')"
>
  <span class="glyphicon glyphicon-remove"></span>
</button>
<button
  type="button"
  class="btn btn-default"
  title="{{'adminparam.btn_save' | translate}}"
  ng-click="confirm(temp_edit_resource)"
>
  <span class="glyphicon glyphicon-floppy-save"></span>
</button>
