daily pastebin goal
30%
SHARE
TWEET

Untitled

a guest Aug 10th, 2018 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <div class="form-group{{ $errors->has('foreman') ? ' has-error' : '' }} required">
  2.                                     <label for="foreman" class="col-md-4 control-label">Foreman</label>
  3.  
  4.                                     <div class="col-md-6">
  5.                                    
  6.                                         <select class="selectpicker form-control input-small" name="foreman_select" data-live-search="true" data-header="Select Foreman...">
  7.                                         @foreach($company->employees->sortBy('first_name') as $employee)
  8.                                             @if(($employee->employee_classification_id == 8) && ($employee->crew_id == 0) && ($employee->is_deleted == 0))
  9.                                                 <option value="{{ $employee->id }}">{{ $employee->first_name . ' ' . $employee->last_name }}</option>
  10.                                             @endif
  11.                                         @endforeach
  12.                                         </select>
  13.  
  14.                                         @if ($errors->has('foreman'))
  15.                                             <span class="help-block">
  16.                                                 <strong>{{ $errors->first('foreman') }}</strong>
  17.                                             </span>
  18.                                         @endif
  19.                                     </div>
  20.                                 </div>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top