generated from bisco/codex-bootstrap
feat(frontend): add performance booking form
This commit is contained in:
@@ -95,7 +95,7 @@ import { ShowDetail, ShowPerformance, ShowsApiService } from '../services/shows-
|
||||
</mat-card-content>
|
||||
<mat-card-actions>
|
||||
@if (performance.booking_enabled) {
|
||||
<a mat-flat-button [routerLink]="['/book', performance.id]">Book this performance</a>
|
||||
<a mat-flat-button [routerLink]="['/performances', performance.id, 'book']">Book this performance</a>
|
||||
} @else {
|
||||
<button mat-stroked-button type="button" disabled>Booking unavailable</button>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user