@extends('themes.default1.layouts.blank') @section('Manage') class="active" @stop @section('manage-bar') active @stop @section('help') class="active" @stop @section('HeadInclude') @stop @section('PageHeader') @stop @section('breadcrumbs') @stop @section('content') {!! Form::model($topics,['url' => 'helptopic/'.$topics->id, 'method' => 'PATCH']) !!}

{{Lang::get('lang.edit')}}

{!! Form::submit(Lang::get('lang.save'),['class'=>'btn btn-primary'])!!}
{!! Form::label('ticket_status',Lang::get('lang.status')) !!}   {!! $errors->first('ticket_status', ':message') !!} {!! Form::radio('ticket_status','1',true) !!}{{Lang::get('lang.active')}}    {!! Form::radio('ticket_status','0') !!}{{Lang::get('lang.disabled')}}
{!! Form::label('type',Lang::get('lang.type')) !!}   {!! $errors->first('type', ':message') !!} {!! Form::radio('type','1',true) !!}{{Lang::get('lang.public')}}    {!! Form::radio('type','0') !!}{{Lang::get('lang.private')}}
{!! Form::label('topic',Lang::get('lang.topic')) !!} {!! $errors->first('topic', ':message') !!} {!! Form::text('topic',null,['disabled'=>'disabled','class' => 'form-control']) !!}
{!! Form::label('parent_topic',Lang::get('lang.parent_topic')) !!} {!! $errors->first('parent_topic', ':message') !!} {!!Form::select('parent_topic', [''=>'Select a Parent Topic','Help Topics'=>$topics->lists('topic','topic')],null,['class' => 'form-control']) !!}
{!! Form::label('custom_form',Lang::get('lang.custom')) !!} {!! $errors->first('custom_form', ':message') !!} {!!Form::select('custom_form', [''=>'Select a Form','Custom Forms'=>$forms->lists('name','name')],null,['class' => 'form-control']) !!}
{!! Form::label('department',Lang::get('lang.department')) !!} {!! $errors->first('department', ':message') !!} {!!Form::select('department', [''=>'Select a Department','Departments'=>$departments->lists('name','name')],null,['class' => 'form-control']) !!}
{!! Form::label('priority',Lang::get('lang.priority')) !!} {!! $errors->first('priority', ':message') !!} {!!Form::select('priority', [''=>'Select a Proirity','Priorities'=>$priority->lists('name','name')],null,['class' => 'form-control']) !!}
{!! Form::label('sla_plan',Lang::get('lang.SLA_plan')) !!} {!! $errors->first('sla_plan', ':message') !!} {!!Form::select('sla_plan', [''=>'Select a SLA Plan','SLA Plans'=>$slas->lists('name','name')],null,['class' => 'form-control']) !!}
{!! Form::label('auto_assign',Lang::get('lang.auto_assign')) !!} {!! $errors->first('auto_assign', ':message') !!} {!!Form::select('auto_assign', [''=>'Select an Agent','Agents'=>$agents->lists('user_name','user_name')],null,['class' => 'form-control']) !!}
{!! Form::label('auto_response',Lang::get('lang.auto_response')) !!}  {!! $errors->first('auto_response', ':message') !!} {!! Form::checkbox('auto_response',1,true) !!}
{!! Form::label('ticket_num_format',Lang::get('lang.ticket_number_format')) !!}  {!! $errors->first('ticket_num_format', ':message') !!} {!! Form::radio('ticket_num_format','1',true) !!}System Default    {!! Form::radio('ticket_num_format','0') !!}Custom
{!! Form::label('internal_notes',Lang::get('lang.internal_notes')) !!} {!! Form::textarea('internal_notes',null,['class' => 'form-control','size' => '10x5']) !!}
{!! Form::close() !!} @stop @section('FooterInclude') @stop @stop