@extends('layouts.master') @section('page_title') @if(isset($page_title)) {{ $page_title }} @endif @endsection @section('content')
@include('commons.notifications')
Updating Direct Connection {{ $server->friendly_name }} | {{ $server->public_ip_address}} ({{ $server->private_ip_address}} )
{{-- start of content --}}

{!! Form::open(['url' => 'infrastructure/storedirect', 'class' => 'form-horizontal form-label-left', 'files' => 'true']) !!}
{!! Form::text('direct_partner', old('direct_partner'), ['class' => 'form-control col-md-7 col-xs-12', 'placeholder'=>'Enter partner name' , 'id' => 'directPartner']) !!} {!! $errors->first('direct_partner', '

:message

') !!}
{!! Form::select('connection_type', $connection_types ,old('connection_type'), ['class' => 'form-control col-md-7 col-xs-12', 'placeholder'=>'Select one' , 'id' => 'connectionType']) !!} {!! $errors->first('emaconnection_typeil', '

:message

') !!}
{!! Form::text('main_ip_address', old('main_ip_address'), ['class' => 'form-control col-md-7 col-xs-12', 'placeholder'=>'Enter main_ip_address' , 'id' => 'mainIpAddress']) !!} {!! $errors->first('main_ip_address', '

:message

') !!}
{!! Form::text('port', old('port'), ['class' => 'form-control col-md-7 col-xs-12', 'placeholder'=>'Enter port number' , 'id' => 'portNumber']) !!} {!! $errors->first('port', '

:message

') !!}
{!! Form::text('vpn_peer_ip', old('vpn_peer_ip'), ['class' => 'form-control col-md-7 col-xs-12', 'placeholder'=>'Enter peer vps ip' , 'id' => 'peerVpnIp']) !!} {!! $errors->first('vpn_peer_ip', '

:message

') !!}
{!! Form::text('domain_name', old('domain_name'), ['class' => 'form-control col-md-7 col-xs-12', 'placeholder'=>'Enter domain name ' , 'id' => 'domainName']) !!} {!! $errors->first('domain_name', '

:message

') !!}
{!! Form::file('connection_form', null, ['class' => 'form-control col-md-7 col-xs-12' , 'id' => 'connectionForm']) !!} {!! $errors->first('connection_form', '

:message

') !!}
{!! Form::close() !!}
{{-- end of x_content --}}
{{-- end of x_panel --}}
@endsection @section('javascript') @endsection