Yu-Gi-Oh! Deck Building and Card Inventory Management web interface written in Common Lisp, utilizing HTMX.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
405B

  1. <div class="select">
  2. <select hx-get="/builder/decks-by-cat-id"
  3. hx-params="id"
  4. hx-target="#saved-deck-list"
  5. hx-trigger="change"
  6. name="id">
  7. <option value="">Category</option>
  8. {% for category in categories %}
  9. <option value="{{ category.id }}"{% if category.id == id %} selected{% endif %}>{{ category.name }}</option>
  10. {% endfor %}
  11. </select>
  12. </div>