<form action="/books/add" method="post"> | |
<div> | |
<label for="title">Book Title:</label> | |
<input type="text" id="title" name="title" /> | |
</div> | |
<div> | |
<label for="price">Genre:</label> | |
<select id="price" name="price"> | |
<option value="1">Business Management</option> | |
<option value="2">Software Development</option> | |
</select> | |
</div> | |
<div class="button"> | |
<button type="submit">Add Book</button> | |
</div> | |
</form> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment