first commit
This commit is contained in:
		
							
								
								
									
										8
									
								
								resources/views/partials/form/text_group.blade.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								resources/views/partials/form/text_group.blade.php
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,8 @@
 | 
			
		||||
<div class="form-group {{ $col }} {{ isset($attributes['required']) ? 'required' : '' }} {{ $errors->has($name) ? 'has-error' : '' }}">
 | 
			
		||||
    {!! Form::label($name, $text, ['class' => 'control-label']) !!}
 | 
			
		||||
    <div class="input-group">
 | 
			
		||||
        <div class="input-group-addon"><i class="fa fa-{{ $icon }}"></i></div>
 | 
			
		||||
        {!! Form::text($name, $value, array_merge(['class' => 'form-control', 'placeholder' => trans('general.form.enter', ['field' => $text])], $attributes)) !!}
 | 
			
		||||
    </div>
 | 
			
		||||
    {!! $errors->first($name, '<p class="help-block">:message</p>') !!}
 | 
			
		||||
</div>
 | 
			
		||||
		Reference in New Issue
	
	Block a user