@extends('admin/layout') @section('content') Admin Forms Edit Photo Edit Photo Edit Photo Form @csrf Title @error('title') {{ $message }} @enderror Description {{ $photo->description }} Upload New Image @error('image') {{ $message }} @enderror @if ($photo->image_url) @endif Location Category @foreach($categories as $category) id == $photo->category_id) selected @endif>{{ $category->category_name }} @endforeach @error('category_id') {{ $message }} @enderror Privacy Status privacy_status == '0') selected @endif>Public privacy_status == '1') selected @endif>Private @error('privacy_status') {{ $message }} @enderror Tag Suggestions @foreach ($availableTags as $tag) {{ $tag->tag_name }} @endforeach Add Custom Tags Add Tag Selected Tags @foreach ($photo->tags as $tag) {{ $tag->tag_name }} @endforeach Update Photo Back @endsection
Edit Photo Form
{{ $message }}