File size: 451 Bytes
cf75111
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
<h1>Create Book</h1>

<form action="{{ route('books.store') }}" method="post">
    @csrf
    <label for="title">Title:</label>
    <input type="text" id="title" name="title"><br><br>
    <label for="author">Author:</label>
    <input type="text" id="author" name="author"><br><br>
    <label for="published_at">Published At:</label>
    <input type="date" id="published_at" name="published_at"><br><br>
    <input type="submit" value="Create">
</form>