Created
March 8, 2022 11:00
-
-
Save brain2xml/9901d165fff86065e321f1bcff9bb1c3 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
@extends('layout') | |
@section('content') | |
<div class="container"> | |
<h1>Edit {{ $word->id }}</h1> | |
@include('words.form', ['word' => $word, 'method'=>'update']) | |
<div class="row"> | |
or | |
<form method="{{ route('words.destroy', ['word'=>$word->id]) }}"> | |
@csrf | |
@method('DELETE') | |
<input type="submit" value="Delete" /> | |
</form> | |
</div> | |
</div> | |
@endsection |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment