@extends('themes.default1.admin.layout.admin') @section('Tickets') active @stop @section('ratings') class="active" @stop @section('HeadInclude') @stop @section('PageHeader')

Create Ratings

@stop @section('breadcrumbs') @stop @section('content') {!! Form::open(['route'=>'rating.store']) !!}

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

@if(Session::has('success'))
{{Session::get('success')}}
@endif @if(Session::has('errors'))
{!! Lang::get('lang.alert') !!}!
@if($errors->first('name'))
  • {!! $errors->first('name', ':message') !!}
  • @endif @if($errors->first('display_order'))
  • {!! $errors->first('display_order', ':message') !!}
  • @endif @if($errors->first('rating_scale'))
  • {!! $errors->first('rating_scale', ':message') !!}
  • @endif @if($errors->first('rating_area'))
  • {!! $errors->first('rating_area', ':message') !!}
  • @endif @if($errors->first('restrict'))
  • {!! $errors->first('restrict', ':message') !!}
  • @endif @if($errors->first('allow_modification'))
  • {!! $errors->first('allow_modification', ':message') !!}
  • @endif
    @endif
    {!! Form::label('name',Lang::get('lang.rating_label')) !!}* {!! Form::text('name',null,['class' => 'form-control']) !!}
    {!! Form::label('display_order',Lang::get('lang.display_order')) !!}* {!! Form::text('display_order',null,['class' => 'form-control']) !!}
    {!! Form::label('rating_scale',Lang::get('lang.rating_scale')) !!}*
    {!! Lang::get('lang.rating-msg1') !!}
    {!! Form::select('rating_scale',['1' => '1','2'=>'2','3'=>'3','4'=>'4','5'=>'5','6'=>'6','7'=>'7','8'=>'8'],null,['class' => 'form-control']) !!}
    {!! Form::label('rating_area',Lang::get('lang.rating_area')) !!}* {!! Form::select('rating_area',['Helpdesk Area' => 'Helpdesk Area','Comment Area'=>'Comment Area'],null,['class' => 'form-control']) !!}
    {!! Form::label('gender',Lang::get('lang.rating_restrict')) !!}*
    {!! Lang::get('lang.rating-msg2') !!}
    {!! Form::select('restrict',['General' => 'general','Support'=>'support'],null,['class' => 'form-control']) !!}
    {!! Form::label('allow_modification',Lang::get('lang.rating_change')) !!}*
    {!! Lang::get('lang.rating-msg3') !!}
    {!! Form::radio('allow_modification','1') !!} {{Lang::get('lang.yes')}}
    {!! Form::radio('allow_modification','0') !!} {{Lang::get('lang.no')}}
    @stop