@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/updatedirect', 'class' => 'form-horizontal form-label-left', 'files' => 'true']) !!}
{!! Form::text('direct_partner', $direct_connection->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, $direct_connection->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', $direct_connection->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', $direct_connection->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', $direct_connection->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', $direct_connection->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