-
-
Save jeffandersen/8d7ddae9ceeaf4ff7bccb8f785508545 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- resources/views/tasks.blade.php --> | |
<!-- ... --> | |
<!-- Delete Button --> | |
<form action="{{ url('task/'.$task->id) }}" method="POST"> | |
{{ csrf_field() }} | |
{{ method_field('DELETE') }} | |
<button type="submit" class="btn btn-danger"> | |
<i class="fa fa-trash"></i> Delete | |
</button> | |
</form> | |
<!-- ... --> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment