Skip to content

Commit

Permalink
Merge pull request #16108 from marcusmoore/chore/migrate-form-submit-…
Browse files Browse the repository at this point in the history
…helper
  • Loading branch information
snipe authored Jan 22, 2025
2 parents 8db8d4b + 5ddf0dd commit 63838f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/views/account/requestable-assets.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,9 @@ class="table table-striped snipe-table"
{{ csrf_field() }}
<input type="text" style="width: 70px; margin-right: 10px;" class="form-control pull-left" name="request-quantity" value="" placeholder="{{ trans('general.qty') }}">
@if ($requestableModel->isRequestedBy(Auth::user()))
{{ Form::submit(trans('button.cancel'), ['class' => 'btn btn-danger btn-sm'])}}
<input class="btn btn-danger btn-sm" type="submit" value="{{ trans('button.cancel') }}">
@else
{{ Form::submit(trans('button.request'), ['class' => 'btn btn-primary btn-sm'])}}
<input class="btn btn-primary btn-sm" type="submit" value="{{ trans('button.request') }}">
@endif
</form>
</td>
Expand Down

0 comments on commit 63838f6

Please sign in to comment.