我已经制作了一个表单来提交用户数据,但是当我单击提交按钮时,它显示错误“找不到对象”
查看文件`
@extends('layout')
@section('content')
<h1 class="title">Simple Form</h1>
<form method="POST" action="/projects">
@csrf
<div class="field">
<label class="label" for="name">Name</label>
<div class="control">
<input type="text" class="input" name="name" placeholder="Enter Name">
</div>
</div>
<div class="field">
<label class="label" for="email">E-mail</label>
<div class="control">
<input type="text" class="input" name="email" placeholder="Enter E-mail Address">
</div>
</div>
<div class="field">
<label class="label" for="pincode">Pincode</label>
<div class="control">
<input type="text" class="input" name="pincode" placeholder="Enter Pincode">
</div>
</div>
<div class="field">
<div class="control">
<button type="submit" class="button">Submit</button>
</div>
</div>
</form>
@endsection
凤凰求蛊