@extends('layouts.app', ['class' => 'g-sidenav-show bg-gray-100']) @section('content') @include('layouts.navbars.auth.topnav', ['title' => 'Edit Book'])
@include('components.alert')
@csrf @method('PUT')
Edit Book
Save
Cancel
Book Information
Title
ISBN
Author
Select an Author
@foreach($authors as $author)
id == old('author_id', $book->author_id) ? 'selected' : '' }}>{{ $author->name }}
@endforeach
Publish At
Category
Select a Category
@foreach($categories as $category)
id == old('category_id', $book->category_id) ? 'selected' : '' }}>{{ $category->name }}
@endforeach
Quantity
Available Quantity
Price
Status
oprtnl_flag == 'available' ? 'selected' : '' }}>Available
oprtnl_flag == 'borrowed' ? 'selected' : '' }}>Borrowed
@include('layouts.footers.auth.footer')
@endsection