<div class="popover">
  <div class="arrow"></div>

  <div class="btn-group-vertical">
    <div class="row spbrow">
      <div class="col-xs-12">
        <div class="col-xs-12" ng-class="{'has-error': !validCopyForm.name}">
          <label><translate>applications.applications.name</translate></label>
          <validate-input
            data-restrict="['&',' ']"
            data-validated="validFields.name"
            data-value="copy_app.name"
            ng-init="validateCopyName()"
            required
          ></validate-input>
        </div>
      </div>
    </div>
    <div class="row spbrow">
      <div class="col-xs-12">
        <div class="col-xs-12">
          <button
            type="button"
            class="btn btn-default pull-right"
            ng-disabled="!validCopyForm.name||!copy_app.name"
            ng-click="copyApp(copy_app.name);$hide();closeThisDialog()"
          >
            <translate>common.save</translate>
          </button>
        </div>
      </div>
    </div>
  </div>
</div>
