公用表单错误,@disabled、@checked相关删除(无此功能)

This commit is contained in:
2022-08-07 21:51:27 +08:00
parent b1124432c7
commit 50934228ef
7 changed files with 13 additions and 32 deletions

View File

@ -25,11 +25,7 @@
是否结束维护
<input class="form-checkbox" type="checkbox" name="status" value="1" @if(old("status", $program->status) == 1) checked @endif>
</label>
@if($errors->any())
@foreach ($errors->all() as $error)
<div class="bg-red-600 text-white">错误:{{ $error }}</div>
@endforeach
@endif
@include("common.form_error")
<div class="block my-2 text-center">
<input class="px-6 py-2 inline-block rounded-full bg-cyan-600 text-white" type="submit">
</div>