@endforeach </select> </div> <div class="col-md-4" align="center"> <br><br> <button type="button" class="btn btn-success" id="btn-add" onclick="select()"> Add <span class="glyphicon glyphicon-chevron-right"></span></button><br><br> <button type="button" class="btn btn-danger" id="btn-remove"><span class="glyphicon glyphicon-chevron-left"></span> Remove </button> <br><br> </div> <div class="col-md-4"> <strong>Currently Selected</strong> <select name="selectto" onchange"select()" id="select-to" multiple size="15" class="form-control" > @foreach($selected_users as $key2) <?php $roles = Assigned::where('user_id', $key2->id)->first(); if ($roles->role_id != 1) { echo $fullname2 = $key2->lastname . ", " . $key2->firstname; ?> <option value="{{ $key2->users_id }}" >{{ $fullname2 }}</option> <?php } ?> @endforeach </select> {{ Form::hidden('designation_id', "$designation_id"); }} {{ Form::hidden('members_selected', "", ['id'=>'members_selected']); }} </div> </div> <div class="table-responsive" align="right">
<input class="form-control" type="password" name="password" id="password" maxlength="255" > @if ( Session::get('password_error') ) <small><font color="red">{{ Session::get('password_error'); }} </font> </small> @endif </div> <div class="form-group"> <label for="password_confirmation">Confirm Password </label> <input class="form-control" type="password" name="password_confirmation" id="password_confirmation" maxlength="255"> </div> <div class="form-group"> <label for="role">Role *</label> <?php $assigned = Assigned::where('user_id', $id)->first(); if (NULL != Input::old('role')) { $role = Input::old('role'); } else { $role = $assigned->role_id; } ?> <select class="form-control" name="role" id="role" disabled> <option value="3" <?php if ($role == 3) { echo "selected"; } ?> >Admin</option> <option value="2" <?php