@extends('adminlte::page') @section('title', 'Edit Contact') @section('content_header')

Edit Contact

@stop @section('content')

Reminder!

You can upload image with .JPG, .PNG, to avoid images pixels or distortion please make the size of the image 600*390.

Edit Contact

@if(Session::has('sliderSuccess'))

Success!

{{ Session::get('sliderSuccess') }}
@endif @if (count($errors) > 0)
Whoops! There were some problems with your input.

@endif {!! Form::model($contact, [ 'method' => 'PATCH', 'route' => ['contacts.admin.contacts.update', $contact->id] ]) !!}

Contact Information

{!! Form::label('address', 'Address') !!} {!! Form::textarea('address', null, array('placeholder'=>'Address', 'class'=>'form-control', 'rows'=>2)) !!}
{!! Form::label('phone', 'Phone') !!} {!! Form::tel('phone', null, array('placeholder'=>'phone', 'class'=>'form-control')) !!}
{!! Form::label('email', 'Email') !!} {!! Form::email('email', null, array('placeholder'=>'Email', 'class'=>'form-control')) !!}
{!! Form::label('website', 'Website') !!} {!! Form::url('website', null, array('placeholder'=>'Website', 'class'=>'form-control')) !!}
{!! Form::label('details', 'Details') !!} {!! Form::textarea('details', null, array('placeholder'=>'Details', 'class'=>'form-control')) !!}

Social Media

{!! Form::label('twitterLink', 'Twitter') !!} {!! Form::url('twitterLink', null, array('placeholder'=>'Twitter', 'class'=>'form-control')) !!}
{!! Form::label('faceLink', 'Facebook') !!} {!! Form::url('faceLink', null, array('placeholder'=>'Facebook', 'class'=>'form-control')) !!}
{!! Form::label('Google+', 'googleLink') !!} {!! Form::url('googleLink', null, array('placeholder'=>'Google+', 'class'=>'form-control')) !!}
{!! Form::label('Instagram', 'Instagram') !!} {!! Form::url('instagram', null, array('placeholder'=>'Instagram', 'class'=>'form-control')) !!}
{!! Form::label('linkedIn', 'LinkedIn') !!} {!! Form::url('linkedIn', null, array('placeholder'=>'LinkedIn', 'class'=>'form-control')) !!}
{!! Form::label('youtube', 'YouTube') !!} {!! Form::url('youtube', null, array('placeholder'=>'YouTube', 'class'=>'form-control')) !!}

Project Location

{{ Form::label('map', 'Map') }} {{ Form::text('searchmap', '', array('class'=>'form-control', 'id'=>'searchmap')) }}
{{ Form::label('lat', 'Lat') }} {{ Form::text('lat', null, array('class'=>'form-control', 'placeholder'=>'Lat', 'id'=>'lat')) }}
{{ Form::label('lng', 'Lng') }} {{ Form::text('lng', null, array('class'=>'form-control', 'placeholder'=>'Lng', 'id'=>'lng')) }}
{!! Form::close() !!}
@stop @section('js') {{ Html::script('https://maps.googleapis.com/maps/api/js?key=AIzaSyDDmW4TvEDf8aQNS8JZ_1VntGa6ON-en4Q&callback=initMap&libraries=places') }} @stop