(update edit concert form)

This commit is contained in:
Adam Wathan
2017-07-04 11:24:11 -04:00
parent c36865a84a
commit 0a5eac5fbc

View File

@@ -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>