updated all forms for new namespace standard

This commit is contained in:
2019-05-05 23:14:45 -05:00
parent 8ea21821ab
commit d5ddc3ec0d
15 changed files with 21 additions and 21 deletions
@@ -40,7 +40,7 @@
<th>Accept?</th>
</thead>
<tbody>
{!! Form::open(['action' => 'ContractAdminController@storeEndContract', 'method' => 'POST']) !!}
{!! Form::open(['action' => 'Contracts\ContractAdminController@storeEndContract', 'method' => 'POST']) !!}
{{ Form::hidden('contract_id', $contract['contract_id']) }}
@foreach($bids as $bid)
<tr>
@@ -14,7 +14,7 @@
New Contracts
</div>
<div class="card-body">
{!! Form::open(['action' => 'ContractAdminController@storeNewContract', 'method' => 'POST']) !!}
{!! Form::open(['action' => 'Contracts\ContractAdminController@storeNewContract', 'method' => 'POST']) !!}
<div class="form-group">
{{ Form::label('name', 'Contract Name') }}
{{ Form::text('name', '', ['class' => 'form-control', 'placeholder' => 'Some Name']) }}
+1 -1
View File
@@ -14,7 +14,7 @@
Enter Bid
</div>
<div class="card-body">
{!! Form::open(['action' => 'ContractController@storeBid', 'method' => 'POST']) !!}
{!! Form::open(['action' => 'Contracts\ContractController@storeBid', 'method' => 'POST']) !!}
<div class="form-group">
{{ Form::label('bid', 'Bid') }}
{{ Form::text('bid', '', ['class' => 'form-control', 'placeholder' => '1.0']) }}
@@ -9,13 +9,13 @@
<td>{{ $bid['corporation_name'] }}</td>
<td>{{ $bid['bid_amount'] }}</td>
@if(auth()->user()->character_id == $bid['character_id'])
{{ Form::open(['action' => 'ContractController@displayModifyBid', 'method' => 'POST']) }}
{{ Form::open(['action' => 'Contracts\ContractController@displayModifyBid', 'method' => 'POST']) }}
{{ Form::hidden('id', $bid['id']) }}
{{ Form::hidden('contract_id', $bid['contract_id']) }}
{{ Form::submit('Modify Bid', ['class' => 'btn btn-primary']) }}
{!! Form::close() !!}
{{ Form::open(['action' => 'ContractController@deleteBid', 'method' => 'POST']) }}
{{ Form::open(['action' => 'Contracts\ContractController@deleteBid', 'method' => 'POST']) }}
{{ Form::hidden('id', $bid['id']) }}
{{ Form::hidden('contract_id', $bid['contract_id']) }}
{{ Form::submit('Delete Bid', ['class' => 'btn btn-primary']) }}
@@ -17,7 +17,7 @@
Type: {{ $contract['type'] }}<br>
End Date: {{ $contract['end_date'] }}<br>
Description: {{ $contract['body'] }}<br>
{!! Form::open(['action' => 'ContractController@modifyBid', 'method' => 'POST']) !!}
{!! Form::open(['action' => 'Contracts\ContractController@modifyBid', 'method' => 'POST']) !!}
<div class="form-group">
{{ Form::label('bid', 'Bid') }}
{{ Form::text('bid', '', ['class' => 'form-control', 'placeholder' => '1.0']) }}