FarmMapsLib/projects/common-map/src/fm-map/components/meta-data-modal/meta-data-modal.component.html

20 lines
818 B
HTML
Raw Normal View History

2019-10-28 13:18:25 +00:00
<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">&times;</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>