@extends('admin.layouts.master') @section('main-content') {{ __('banner.banners') }} {{ Breadcrumbs::render('banners/edit') }} @csrf @method('PUT') {{ __('levels.restaurant') }} * {{ __('levels.select_restaurant') }} @if(!blank($restaurants)) @foreach($restaurants as $restaurant) restaurant_id) == $restaurant->id) ? 'selected' : '' }}> {{ $restaurant->name }} @endforeach @endif @error('restaurant_id') {{ $message }} @enderror {{ __('levels.title') }} @error('name') {{ $message }} @enderror {{ __('levels.url') }} @error('url') {{ $message }} @enderror {{ __('levels.status') }} * @foreach(trans('statuses') as $key => $status) status) == $key) ? 'selected' : '' }}> {{ $status }} @endforeach @error('status') {{ $message }} @enderror {{ __('levels.image') }} * {{ __('levels.choose_file') }} @if ($errors->has('image')) {{ $errors->first('image') }} @endif {{ __('levels.description') }} {{ old('description', $banner->short_description) }} @error('description') {{ $message }} @enderror @endsection @section('css') @endsection @section('scripts') @endsection