</div> @if ($errors->has()) <div class="alert alert-danger"> @foreach ($errors->all() as $error) {{ $error }}<br> @endforeach </div> @endif @if($deletemsg != '') <div class="alert alert-success"> {{ $deletemsg }}<br> </div> @endif <?php use App\Group; $groupinfo = Group::orderby('group_code')->lists('group_name', 'group_name'); ?> <fieldset> <legend>Select Group</legend> <div class="control-group"> {!! Form::label('group_code', 'Group Code:', array('class' => 'control-label')) !!} <div class="controls"> {!! Form::select('selectgroup_name', $groupinfo) !!} </div> </div> <div class="control-group"> <div class="controls"> {!! Form::submit('Delete', ['class'=>'btn btn-primary','value'=>'removegroup', 'name'=>'removegroup']) !!} </div> </div> </fieldset>