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

{{ $title }}

{{ $title }}

{{ Form::open(['url' => route('cardswipes.store'), 'method'=>'POST', 'name' => 'cardswipes', 'id' => 'cardswipes']) }}
{{ Form::label( __('lbl.name') ) }} {{ Form::text('name', old('name'), ["class"=>"form-control mxlen_20","placeholder"=>__('lbl.name'),"id"=>"name","name"=>"name"]) }} @if ($errors->has('name')) {{ $errors->first('name') }} @endif
{{ Form::label( __('lbl.ipaddress') ) }} @if ($errors->has('ip_address')) {{ $errors->first('ip_address') }} @endif
{{ Form::label( __('lbl.port') ) }} {{ Form::text('port', old('port'), ["class"=>"form-control mxlen_4 digits","placeholder"=>__('lbl.port'),"id"=>"port","name"=>"port"]) }} @if ($errors->has('port')) {{ $errors->first('port') }} @endif
{{ Form::label(__('lbl.type')) }} {{ Form::select('type', $type, '',["class"=>"form-control","id"=>"type","name"=>"type"]) }} @if ($errors->has('type')) {{ $errors->first('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