Skip to content

Commit

Permalink
更新 Laravel 框架验证规则 10.x 文档指向
Browse files Browse the repository at this point in the history
  • Loading branch information
vlssu committed Jan 24, 2024
1 parent 54ea445 commit 33c80be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/views/admin/eggs/variables.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
<div class="form-group">
<label class="form-label">输入规则</label>
<input type="text" name="rules" class="form-control" value="{{ $variable->rules }}" />
<p class="text-muted small">这些规则是使用 <a href="https://laravel.com/docs/5.7/validation#available-validation-rules" target="_blank">Laravel 框架验证规则</a> 标准定义的.</p>
<p class="text-muted small">这些规则是使用 <a href="https://laravel.com/docs/10.x/validation#available-validation-rules" target="_blank">Laravel 框架验证规则</a> 标准定义的.</p>
</div>
</div>
<div class="box-footer">
Expand Down Expand Up @@ -129,7 +129,7 @@
<div class="form-group">
<label class="control-label">输入规则 <span class="field-required"></span></label>
<input type="text" name="rules" class="form-control" value="{{ old('rules', 'required|string|max:20') }}" placeholder="required|string|max:20" />
<p class="text-muted small">这些规则是使用 <a href="https://laravel.com/docs/5.7/validation#available-validation-rules" target="_blank">Laravel 框架验证规则</a> 标准定义的.</p>
<p class="text-muted small">这些规则是使用 <a href="https://laravel.com/docs/10.x/validation#available-validation-rules" target="_blank">Laravel 框架验证规则</a> 标准定义的.</p>
</div>
</div>
<div class="modal-footer">
Expand Down

0 comments on commit 33c80be

Please sign in to comment.