@extends('layouts.app') @section('content')
{{__('texte.locations_arr.create.add_location')}}
{{__('texte.locations_arr.create.locations')}}
{{ csrf_field() }}
{{__('texte.locations_arr.create.name')}}
@if ($errors->has('name'))
{{ $errors->first('name') }}
@endif
{{__('texte.locations_arr.create.location_type')}}
--- {{__('texte.locations_arr.create.location_type')}} ---
@foreach ($location_types as $location_type)
id ? 'selected' : ''}}>{{ $location_type->name }}
@endforeach
@if ($errors->has('location_type_id'))
{{ $errors->first('location_type_id') }}
@endif
{{__('texte.locations_arr.create.area')}}
--- {{__('texte.locations_arr.create.area')}} ---
@foreach ($areas as $area)
id ? 'selected' : ''}}>{{ $area->name }}
@endforeach
@if ($errors->has('area_id'))
{{ $errors->first('area_id') }}
@endif
{{__('texte.locations_arr.create.phone_code')}}
@if ($errors->has('code'))
{{ $errors->first('code') }}
@endif
{{__('texte.locations_arr.create.postal_code')}}
@if ($errors->has('zip'))
{{ $errors->first('zip') }}
@endif
{{__('texte.locations_arr.create.add')}}
@endsection