mirror of
				https://github.com/pelican-dev/panel.git
				synced 2025-11-04 12:26:53 +01:00 
			
		
		
		
	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.
This commit is contained in:
		
							parent
							
								
									16e6f3f45f
								
							
						
					
					
						commit
						b252374d39
					
				@ -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 Laravel Framework validation rules.</p>
 | 
			
		||||
                            <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>
 | 
			
		||||
                        </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 Laravel Framework validation rules.</p>
 | 
			
		||||
                        <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>
 | 
			
		||||
                    </div>
 | 
			
		||||
                </div>
 | 
			
		||||
                <div class="modal-footer">
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user