Laravel 单击提交按钮后表单不工作
Laravel form not working after clicking on the submit button
我创建了一个表单,但在单击提交按钮后它不起作用。我有什么问题?
<div class="col-sm-12 col-lg-6 mb-4">
<div class="card border-primary">
<div class="card-header border-primary bg-primary">Create E-Pin</div>
<div class="card-body">
<from class="form-group" method="post" action="{{ route('frontend.epin.store') }}">
@csrf
<div class="form-group">
<label >E-pin Amount</label>
<input type="text" name='amount' class="form-control">
</div>
<button type="submit" class="btn btn-primary">Create</button>
</from>
</div>
</div>
</div>
当然不行,因为你打错了
<form class="form-group" method="post" action="{{ route('frontend.epin.store') }}">
@csrf
<div class="form-group">
<label >E-pin Amount</label>
<input type="text" name='amount' class="form-control">
</div>
<button type="submit" class="btn btn-primary">Create</button>
</form>
应该不是来自的形式。
我创建了一个表单,但在单击提交按钮后它不起作用。我有什么问题?
<div class="col-sm-12 col-lg-6 mb-4">
<div class="card border-primary">
<div class="card-header border-primary bg-primary">Create E-Pin</div>
<div class="card-body">
<from class="form-group" method="post" action="{{ route('frontend.epin.store') }}">
@csrf
<div class="form-group">
<label >E-pin Amount</label>
<input type="text" name='amount' class="form-control">
</div>
<button type="submit" class="btn btn-primary">Create</button>
</from>
</div>
</div>
</div>
当然不行,因为你打错了
<form class="form-group" method="post" action="{{ route('frontend.epin.store') }}">
@csrf
<div class="form-group">
<label >E-pin Amount</label>
<input type="text" name='amount' class="form-control">
</div>
<button type="submit" class="btn btn-primary">Create</button>
</form>
应该不是来自的形式。