@extends('layouts.app') @section('content')

@lang('quickadmin.clients.title')

{!! Form::model($client, ['method' => 'PUT', 'route' => ['admin.clients.update', $client->id]]) !!}
@lang('quickadmin.qa_edit')
{!! Form::label('first_name', 'First name', ['class' => 'control-label']) !!} {!! Form::text('first_name', old('first_name'), ['class' => 'form-control', 'placeholder' => '']) !!}

@if($errors->has('first_name'))

{{ $errors->first('first_name') }}

@endif
{!! Form::label('last_name', 'Last name', ['class' => 'control-label']) !!} {!! Form::text('last_name', old('last_name'), ['class' => 'form-control', 'placeholder' => '']) !!}

@if($errors->has('last_name'))

{{ $errors->first('last_name') }}

@endif
{!! Form::label('phone', 'Phone', ['class' => 'control-label']) !!} {!! Form::text('phone', old('phone'), ['class' => 'form-control', 'placeholder' => '']) !!}

@if($errors->has('phone'))

{{ $errors->first('phone') }}

@endif
{!! Form::label('email', 'Email', ['class' => 'control-label']) !!} {!! Form::email('email', old('email'), ['class' => 'form-control', 'placeholder' => '']) !!}

@if($errors->has('email'))

{{ $errors->first('email') }}

@endif
{!! Form::submit(trans('quickadmin.qa_update'), ['class' => 'btn btn-danger']) !!} {!! Form::close() !!} @stop