@extends('layouts.app') @section('form-title') {{ __('Edit '.\Illuminate\Support\Str::singular($org_type)) }} @endsection @section('breadcrumb') @if($type_available) @else @endif @endsection @section('content') @include('partials.modals.maps'); @php $google_maps_field = $settings__->google_maps_field ? json_decode($settings__->google_maps_field) : null; @endphp
@method('PUT') @csrf
@if($errors->has('name'))

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

@endif
@if(canViewUpdate('app-owner'))
{!! yesNoRadio('application_owner', old('application_owner', $organisation->application_owner)) !!} @if($errors->has('application_owner'))

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

@endif
@endif @if($type_available) {!! organisationType('organisation_types[]', $org_type) !!} @else
{!! organisationTypes(old('organisation_types', $types)) !!} @if($errors->has('organisation_types'))

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

@endif
@endif
@if($errors->has('zip'))

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

@endif
@if($errors->has('house_number'))

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

@endif
@if($errors->has('street'))

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

@endif
@if($errors->has('city'))

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

@endif
@if($google_maps_field->option_to_fill_in === 'yes')
@if($google_maps_field->forward_to_gm_api === 'yes') @else @endif @if($errors->has('gml'))

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

@endif
@endif
{!! countries(old('country', $organisation->country_id)) !!} @if($errors->has('country'))

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

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

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

@endif
@if($errors->has('website'))

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

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

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

@endif
{{-- Edit section ends --}}
@endsection @push('child-scripts') @include('partials.postcode-js') @endpush