20 lines
818 B
HTML
20 lines
818 B
HTML
|
<ng-template #content let-c="close" let-d="dismiss">
|
||
|
<form [formGroup]="metaDataForm" (ngSubmit)="handleMetaDataEntered($event)">
|
||
|
<div class="modal-header">
|
||
|
<h4 class="modal-title" i18n>Add metadata</h4>
|
||
|
<button type="button" class="close" aria-label="Close" (click)="d('Cross click'); onCloseModal.emit()">
|
||
|
<span aria-hidden="true">×</span>
|
||
|
</button>
|
||
|
</div>
|
||
|
<div class="modal-body">
|
||
|
<input [minLength]=1 formControlName="name" autofocus type="text" i18n-placeholder placeholder="MetaData">
|
||
|
</div>
|
||
|
<div class="modal-footer">
|
||
|
<button type="submit" class="btn btn-primary" i18n>Upload</button>
|
||
|
<button type="button" class="btn btn-secondary" (click)="c('Close click'); onCloseModal.emit()" i18n>Close</button>
|
||
|
</div>
|
||
|
</form>
|
||
|
</ng-template>
|
||
|
|
||
|
|