Spaces:
No application file
No application file
Download templates/issue_book.html from Zunayedthebot/LMS: direct link, hf CLI and curl.
- Browser
- Download file 640 Bytes
-
https://huggingface.co/spaces/Zunayedthebot/LMS/resolve/main/templates/issue_book.html
- Command line
-
hf download hf://spaces/Zunayedthebot/LMS/templates/issue_book.html
-
curl -L -o issue_book.html https://huggingface.co/spaces/Zunayedthebot/LMS/resolve/main/templates/issue_book.html
640 Bytes
| {% extends "base.html" %} | |
| {% block content %} | |
| <h2>Issue Book</h2> | |
| <div class="card"> | |
| <form method="POST"> | |
| <label>Student ID:</label> | |
| <select name="student_id" required> | |
| {% for s in students %}<option value="{{ s.id }}">{{ s.id }} - {{ s.name }}</option>{% endfor %} | |
| </select> | |
| <label>Book ID:</label> | |
| <select name="book_id" required> | |
| {% for b in books %}<option value="{{ b.book_id }}">{{ b.book_id }} - {{ b.title }} ({{ b.available_copies }} available)</option>{% endfor %} | |
| </select> | |
| <button type="submit" class="btn">Issue Book</button> | |
| <a href="{{ url_for('dashboard') }}" class="btn btn-danger">Cancel</a> | |
| </form> | |
| </div> | |
| {% endblock %} | |