{% load static %}
{% block title %}<title>愛爾蘭語—華語線上辭典 - 首頁</title>{% endblock %}
{% extends "base_generic.html" %}
<div id="search-bar">
<form method="POST">
    {% csrf_token %}
    <div id="search_content">
    <label for="{{form.search_content.id_for_label}}">搜尋內容：</label>{{form.search_content}}
    </div>
    <div id="options">
    {% for option in form.choice_field %}
    <li id="{{option.id_for_label}}">{{option.label_tag}} {{option}}</li>
    {% endfor %}
    </div>
    <input type="submit" value="搜尋">
</form>
{% endblock %} 
