-->
<form [formGroup]="vimNewAccountForm" (ngSubmit)="newVimAccountSubmit()" autocomplete="off">
<div class="row d-flex flex-row justify-content-between">
-->
<form [formGroup]="vimNewAccountForm" (ngSubmit)="newVimAccountSubmit()" autocomplete="off">
<div class="row d-flex flex-row justify-content-between">
<div id="configurationparameters" class="row collapse mt-3" [ngbCollapse]="isCollapsed">
<div class="col-sm-12">
<div class="ngx-codemirror new-vim" [hidden]="!selectedVimType">
<div id="configurationparameters" class="row collapse mt-3" [ngbCollapse]="isCollapsed">
<div class="col-sm-12">
<div class="ngx-codemirror new-vim" [hidden]="!selectedVimType">
- <div class="form-group">
- <button type="button" class="btn btn-warning btn-sm mr-3" (click)="loadSampleConfig()">
+ <div class="form-group" *ngIf="!vimID">
+ <button type="button" class="btn btn-warning btn-sm mr-3" (click)="checkData()">
<i class="fa fa-clone" aria-hidden="true"></i>
{{'PAGE.VIMDETAILS.LOADSAMPLECONFIG' | translate}}</button>
<button type="button" class="btn btn-danger btn-sm" (click)="clearConfig()">
<i class="fa fa-times-circle" aria-hidden="true"></i>
{{'PAGE.VIMDETAILS.CLEARCONFIG' | translate}}</button>
</div>
<i class="fa fa-clone" aria-hidden="true"></i>
{{'PAGE.VIMDETAILS.LOADSAMPLECONFIG' | translate}}</button>
<button type="button" class="btn btn-danger btn-sm" (click)="clearConfig()">
<i class="fa fa-times-circle" aria-hidden="true"></i>
{{'PAGE.VIMDETAILS.CLEARCONFIG' | translate}}</button>
</div>
<div class="modal-footer border-0">
<button type="button" (click)="onVimAccountBack()"
class="btn btn-danger">{{'PAGE.VIMDETAILS.BACKTOVIMACCOUNTS' | translate}}</button>
<div class="modal-footer border-0">
<button type="button" (click)="onVimAccountBack()"
class="btn btn-danger">{{'PAGE.VIMDETAILS.BACKTOVIMACCOUNTS' | translate}}</button>