{{ $title }}
{{ Form::open(['url' => route('cardswipes.update', $cardswipe['id']), 'method'=>'PATCH', 'name' => 'cardswipes', 'id' => 'cardswipes']) }}
{{ method_field('PATCH') }}
{{ Form::close() }}
{{ Form::label( __('lbl.name') ) }}
{{ Form::text('name', $cardswipe['name'], ["class"=>"form-control mxlen_20","placeholder"=>__('lbl.name'),"id"=>"name","name"=>"name"]) }}
@if ($errors->has('name'))
@endif
{{ Form::label( __('lbl.ipaddress') ) }}
@if ($errors->has('ipaddres'))
@endif
{{ Form::label( __('lbl.port') ) }}
{{ Form::text('port', $cardswipe['port'], ["class"=>"form-control mxlen_4 digits","placeholder"=>__('lbl.port'),"id"=>"port","name"=>"port"]) }}
@if ($errors->has('port'))
@endif
{{ Form::label(__('lbl.type')) }}
{{ Form::select('type', $type, $cardswipe['type'],["class"=>"form-control","id"=>"type","name"=>"type"]) }}
@if ($errors->has('type'))
@endif
{{ Form::button(' '. __('lbl.save') ,["type"=>"submit","name"=>"submit","value"=>"submit","class"=>"clickbtncommon btn btn-primary btn-sm ".$add_edit_allowed.""]) }}
{{ __('lbl.cancel') }}