help desk create view
This commit is contained in:
parent
08fdc582d1
commit
5144b09395
|
|
@ -101,6 +101,6 @@ if(!function_exists('help_topics')){
|
|||
->orderBy('position','asc')
|
||||
->pluck('title','id');
|
||||
|
||||
return $topics + [0 => 'Other'];
|
||||
return $topics [] = [0 => 'Other'];
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@
|
|||
|
||||
<div class="form-group">
|
||||
{!! Form::label('topic', trans("ClientSide.topic"), array('class'=>'control-label')) !!}
|
||||
{!! Form::select('topic',[null=>'Please Select'] + help_topics(), old('topic'), ['class' => 'form-control','id'=>'topic']) !!}
|
||||
{!! Form::select('topic',help_topics(), old('topic'), ['placeholder'=>trans('ClientSide.please_select'),'class' => 'form-control','id'=>'topic']) !!}
|
||||
</div>
|
||||
<div class="form-group hidden">
|
||||
{!! Form::label('subject', trans("ClientSide.subject"), array('class'=>'control-label')) !!}
|
||||
|
|
|
|||
Loading…
Reference in New Issue