made links to validation rules more specific

laravel validation rules link now points to the relevant section on the laravel docs
This commit is contained in:
Austin Hickey 2019-07-08 04:05:51 -04:00 committed by GitHub
parent b252374d39
commit de8ce4bc95
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -81,7 +81,7 @@
<div class="form-group">
<label class="form-label">Input Rules</label>
<input type="text" name="rules" class="form-control" value="{{ $variable->rules }}" />
<p class="text-muted small">These rules are defined using standard <a href="https://laravel.com/docs/5.7/validation" target="_blank">Laravel Framework validation rules</a>.</p>
<p class="text-muted small">These rules are defined using standard <a href="https://laravel.com/docs/5.7/validation#available-validation-rules" target="_blank">Laravel Framework validation rules</a>.</p>
</div>
</div>
<div class="box-footer">
@ -134,7 +134,7 @@
<div class="form-group">
<label class="control-label">Input Rules <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">These rules are defined using standard <a href="https://laravel.com/docs/5.7/validation" target="_blank">Laravel Framework validation rules</a>.</p>
<p class="text-muted small">These rules are defined using standard <a href="https://laravel.com/docs/5.7/validation#available-validation-rules" target="_blank">Laravel Framework validation rules</a>.</p>
</div>
</div>
<div class="modal-footer">