@extends('layouts.backend') @section('title') Admin | Advertise Setup @endsection @section('extra_css') @endsection @section('extra_js') @endsection @section('content') Update Advertisement @csrf Name * {{ $errors->has('name') ? $errors->first('name') : '' }} URL {{ $errors->has('url') ? $errors->first('url') : '' }} Position {{ $errors->has('position') ? $errors->first('position') : '' }} Photo* @error('photo') {{ $message }} @enderror Update All Advertisement ID Name URL Position Photo Action @foreach ($ads as $row) {{ $row->id }} {{ $row->name }} {{ $row->url }} {{ $row->position }} @endforeach {{ $ads->links() }} @endsection