@extends('layouts.backend') @section('title') Admin | Advertise Setup @endsection @section('extra_css') @endsection @section('extra_js') @endsection @section('content')

Add Advertisement

@csrf
{{ $errors->has('name') ? $errors->first('name') : '' }}
{{ $errors->has('url') ? $errors->first('url') : '' }}
{{ $errors->has('position') ? $errors->first('position') : '' }}
@error('photo')
{{ $message }}
@enderror

All Advertisement

@foreach ($ads as $row) @endforeach
ID Name URL Position Photo Action
{{ $row->id }} {{ $row->name }} {{ $row->url }} {{ $row->position }}
{{ $ads->links() }}
@endsection