Skip to content

Commit b252374

Browse files
authored
Add link to Laravel Framework validation rules/docs
Small QoL fix for adding variables to eggs: References to "Laravel Framework validation rules" are now linked to the official Laravel 5.7 docs referring to the validation syntax. Links are also set to open reference in a new tab/window.
1 parent 16e6f3f commit b252374

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

resources/themes/pterodactyl/admin/eggs/variables.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
<div class="form-group">
8282
<label class="form-label">Input Rules</label>
8383
<input type="text" name="rules" class="form-control" value="{{ $variable->rules }}" />
84-
<p class="text-muted small">These rules are defined using standard Laravel Framework validation rules.</p>
84+
<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>
8585
</div>
8686
</div>
8787
<div class="box-footer">
@@ -134,7 +134,7 @@
134134
<div class="form-group">
135135
<label class="control-label">Input Rules <span class="field-required"></span></label>
136136
<input type="text" name="rules" class="form-control" value="{{ old('rules', 'required|string|max:20') }}" placeholder="required|string|max:20" />
137-
<p class="text-muted small">These rules are defined using standard Laravel Framework validation rules.</p>
137+
<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>
138138
</div>
139139
</div>
140140
<div class="modal-footer">

0 commit comments

Comments
 (0)