@extends('layouts.master') @section('page_title') @if(isset($page_title)) {{ $page_title }} @endif @endsection @section('content')
New Office Location @include('commons.notifications')
{{-- start of content --}}

{!! Form::open(['url' => 'officelocations', 'class' => 'form-horizontal form-label-left']) !!}
{!! Form::text('street_name', old('street_name'), ['class' => 'form-control col-md-7 col-xs-12', 'placeholder'=>'Enter Street Name' , 'id' => 'streetName', 'required' => 'true']) !!} {!! $errors->first('street_name', '

:message

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

:message

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

:message

') !!}
{!! Form::select('country', $countries ,old('country'), ['class' => 'form-control col-md-7 col-xs-12', 'placeholder'=>'Select country ' , 'id' => 'theCountry', 'required' => 'true']) !!} {!! $errors->first('country', '

:message

') !!}
{!! Form::select('country_manager_id', $staffmembers, old('country_manager_id'), ['class' => 'form-control', 'placeholder'=>'Select Country Manager' , 'id' => 'countryManager', 'required' => 'true']) !!} {!! $errors->first('country_manager_id', '

:message

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

:message

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