@extends('admin.layouts.app') @section('content')
@csrf @if(isset($push) && $push->id) @method('PUT') @endif

{{ isset($push) && $push->id ? __('admin/push.edit.title') : __('admin/push.create.title') }}

{{ __('admin/push.buttons.close') }}
@foreach(config('translatable.locales') as $index => $locale)
@error($locale.'.title')
{{ $message }}
@enderror
0 / 160 {{ __('admin/push.fields.characters') }} @error($locale.'.content')
{{ $message }}
@enderror
@error($locale.'.button_text')
{{ $message }}
@enderror
@endforeach
{{ __('admin/push.sections.configuration') }}
is_active : true)) ? 'checked' : '' }}>
display_text : false)) ? 'checked' : '' }}>
{{ __('admin/push.notes.order') }}
@if(isset($lastPush)) {{ __('admin/push.notes.last_order', ['order' => $lastPush->order]) }} @endif @error('order')
{{ $message }}
@enderror
{{ __('admin/push.sections.dimensions') }}
@error('image_width')
{{ $message }}
@enderror
@error('image_height')
{{ $message }}
@enderror
{{ __('admin/push.dimensions.ratio', ['ratio' => '2.13']) }}
{{ __('admin/push.sections.image') }}
{{ __('admin/push.notes.image_formats') }}
{{ __('admin/push.notes.image_auto_resize') }} @error('image')
{{ $message }}
@enderror @if(isset($push) && $push->image)
{{ __('admin/push.alt.current_image') }}
{{ __('admin/push.notes.current_image') }}
@endif
@if(isset($push) && $push->id)
{{ __('admin/push.sections.information') }}
{{ __('admin/push.fields.created_at') }}:
{{ $push->created_at->format('d/m/Y à H:i') }}
{{ __('admin/push.fields.updated_at') }}:
{{ $push->updated_at->format('d/m/Y à H:i') }}
@endif
@endsection @push('script') @endpush