mirror of
https://github.com/nothingworksinc/ticketbeast.git
synced 2026-01-26 11:14:06 +00:00
(update edit concert form)
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
<h1 class="text-lg">Edit concert</h1>
|
||||
</div>
|
||||
</div>
|
||||
<form class="bg-soft p-xs-y-5" action="{{-- route('backstage.concerts.update', $concert) --}}" method="POST">
|
||||
<form class="bg-soft p-xs-y-5" action="{{ route('backstage.concerts.update', $concert) }}" method="POST">
|
||||
{{ csrf_field() }}
|
||||
{{ method_field('PATCH') }}
|
||||
|
||||
@@ -180,7 +180,7 @@
|
||||
<div class="col col-md-6">
|
||||
<div class="form-group {{ $errors->first('ticket_quantity', 'has-error') }}">
|
||||
<label class="form-label">Ticket Quantity</label>
|
||||
<input name="ticket_quantity" class="form-control" placeholder="250" value="{{ old('ticket_quantity', $concert->tickets()->count()) }}">
|
||||
<input name="ticket_quantity" class="form-control" placeholder="250" value="{{ old('ticket_quantity', $concert->ticket_quantity) }}">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user