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