mirror of
https://github.com/Rainyy21/Front-end-Design-Project.git
synced 2026-10-10 22:50:23 -04:00
delete some stuff
This commit is contained in:
+13
-10
@@ -78,23 +78,26 @@
|
||||
<div class ="container">
|
||||
<div class = "header-secton">
|
||||
<h1>📚 My Library</h1>
|
||||
|
||||
<form action ="/add" method ="POST" enctype="multipart/form-data">
|
||||
<input type="text" name="title" placeholder="Title" required>
|
||||
<select name="type">
|
||||
<option value="Book">Book</option>
|
||||
<option value="Show">Show</option>
|
||||
</select>
|
||||
<select name="type">
|
||||
<option value="Book">Book</option>
|
||||
<option value="Show">Show</option>
|
||||
</select>
|
||||
<input type="number" name="year" placeholder="Year">
|
||||
<input type="text" name="extra_info" placeholder="Author/Network">
|
||||
<select name="genre_id">
|
||||
{% for g in genres %}
|
||||
<select name="genre_id">
|
||||
{% for g in genres %}
|
||||
<option value="{{ g.id }}">{{ g.name }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
<input type="file" name="cover_image">
|
||||
<button type="submit">Add Entry</button>
|
||||
{% endfor %}
|
||||
</select>
|
||||
<input type="file" name="cover_image">
|
||||
<button type="submit">Add Entry</button>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<!--the card area-->
|
||||
<div class="grid">
|
||||
{% for item in items %}
|
||||
{% include 'card.html' %}
|
||||
|
||||
Reference in New Issue
Block a user