Components/create-edit-modal: change title depending on mode
This commit is contained in:
parent
d9e773c736
commit
3c80eadf7e
1 changed files with 7 additions and 1 deletions
|
|
@ -1,5 +1,11 @@
|
|||
<div class="modal-header">
|
||||
<h4 class="modal-title"> Add new show</h4>
|
||||
<h4 class="modal-title">
|
||||
@if (editMode) {
|
||||
Edit show
|
||||
} @else {
|
||||
Add new show
|
||||
}
|
||||
</h4>
|
||||
<button type="button" class="btn-close" aria-label="Close" (click)="dismiss()"></button>
|
||||
</div>
|
||||
<form [formGroup]="newShowForm" (submit)="formSubmitted(newShowForm)">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue