@extends('layouts.adminLayout.admin_design') @section('content')

{{ $title }}

{{ $title }}

{{ Form::open(['url' => route('stationstable.update', $stationstable->id), 'method'=>'PATCH', 'name' => 'stationstableForm', 'id' => 'stationstableForm']) }} {{ method_field('PATCH') }}
{{ Form::label( __('lbl.seat_number') ) }} {{ Form::number('seat_number', $stationstable->seat_number, ["class"=>"form-control mxlen_100","placeholder"=>__('lbl.seat_number'),"id"=>"seat_number"]) }} @if ($errors->has('seat_number')) @endif
{{ Form::label( __('lbl.sort') ) }} {{ Form::number('sort', $stationstable->sort, ["class"=>"form-control mxlen_100","placeholder"=>__('lbl.sort'),"id"=>"sort"]) }} @if ($errors->has('sort')) @endif
{{ Form::label( __('lbl.color') ) }} {!! Form::colorlistSelect('color', $stationstable->color,["class"=>"form-control","id"=>"color"]) !!} @if ($errors->has('color')) @endif
{{ Form::label( __('lbl.stations') ) }} {{ Form::select('station_id[]', ($stations)?$stations:[], ($stationstable->station_id)?explode(',',$stationstable->station_id):'',["multiple"=>"multiple","class"=>"form-control select2","id"=>"station_id"])}} @if ($errors->has('station_id')) @endif
{{ Form::button(' '. __('lbl.save'), ['type' => 'submit', "value"=>__('lbl.update'),'class' => 'clickbtncommon btn-sm btn btn-primary '] ) }} {{ __('lbl.cancel') }}
{{ Form::hidden("id",$stationstable->id) }} {{ Form::close() }}
@endsection @section('pagescript') {!! Helper::pagejs([ 'js/lib/select2/dist/js/select2.full.min.js', 'js/lib/bootstrap-colorpicker/dist/js/bootstrap-colorpicker.min.js', 'js/lib/colorpick/dependencies/tinycolor-0.9.15.min.js', 'js/lib/colorpick/1.2.3/js/pick-a-color-1.2.3.min.js' ]) !!} @stop