Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {!! Form::open(['method' => 'Delete', 'route' => ['someroute.destroy', $id]]) !!}
- <button type="submit">Delete</button>
- {!! Form::close() !!}
- {!! form::open(['action' => ['someroute.destroy', $item->id], 'method' => 'POST', 'class' => 'pull-left']) !!}
- {{ form::hidden(['_method' => 'DELETE']) }}
- {{ form::submit('Delete') }}
- {!! form::close() !!}
Add Comment
Please, Sign In to add comment