@extends('app.layout') @section('sub_content')
{{__('races')}}
home
{{__('Home')}}
{{__('races')}}
@if($race->id)
{{__('Edit race')}}
{{ $race->libelle }}
@else
{{__('Add New race')}}
@endif
@if($race->id)
@method('PATCH') @else @endif @csrf
{{ __('Libellé') }}
*
@if ($errors->has('libelle'))
{{ $errors->first('libelle') }}
@endif
{{ __('Type') }}
*
@foreach(App\Helpers\ArticleData::TYPE_RACES as $key => $type)
type ?? null)) selected @endif >{{ $type }}
@endforeach
@if ($errors->has('type'))
{{ $errors->first('type') }}
@endif
@if($race->id) {{ __('Save') }} @else {{ __('Save') }} @endif
{{ __('Cancel') }}
@endsection