<div class="col-md-3"> {{ Form::twbsText('Height: ', 'height', ['fromModel' => $user], ['maxlength' => '30']) }} </div> <div class="col-md-3"> {{ Form::twbsText('Weight: ', 'weight', ['fromModel' => $user], ['maxlength' => '30']) }} </div> <div class="col-md-3"> {{ Form::twbsText('Citizenship: ', 'citizenship', ['fromModel' => $user], ['maxlength' => '30']) }} </div> </div> <?php $position = EmpPos::where('id', $user->pos_id)->get(); $department = Department::where('id', $user->department_id)->get(); ?> <div class="row"> @foreach ($department as $d) <div class="col-md-4"> <div class="form-group"> <label for="department_id" class="control-label">Department</label> <select class="form-control" id="department_id" name="department_id"> <option value="{{ $d->id }}">{{ $d->name }}</option> <option value=" ">------------------------------------</option> @foreach ($alldepartments as $dept) <option value="{{ $dept->id }}">{{ $dept->name}}</option> @endforeach