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

{{ $title }}

{{ $title }}

{{ Form::open(['url' => route('cardswipes.update', $cardswipe['id']), 'method'=>'PATCH', 'name' => 'cardswipes', 'id' => 'cardswipes']) }} {{ method_field('PATCH') }}
{{ 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') }}
{{ Form::close() }}
@endsection @section('pagescript') {!! Helper::pagejs([ 'js/lib/plugins/input-mask/jquery.inputmask.js', 'js/lib/plugins/input-mask/jquery.inputmask.date.extensions.js', 'js/lib/plugins/input-mask/jquery.inputmask.extensions.js', 'js/backend/cardswipes/add_edit.js' ]) !!} @stop