おまじない
{{ csrf_field() }}を記述する。
1 2 3 4 5 6 |
<form method="post" action="hoge/confirm"> {{ csrf_field() }} 名前:<input type="text" name="name" value="{{old('name','沖縄')}}" /> 住所:<input type="text" name="address" value="{{old('address','')}}" /> <input type="submit" /> </form> |