]> git.openstreetmap.org Git - osqa.git/blob - forum/skins/default/templates/search.html
the variable needs to be defined with var in front of it, because otherwise it is...
[osqa.git] / forum / skins / default / templates / search.html
1 {% extends "base_content.html" %}
2
3 {% load i18n %}
4
5 {% block content %}
6 <div id="main-bar" class="headNormal">
7         {% blocktrans with settings.APP_SHORT_NAME as app_name %}
8             Search in {{  app_name }}
9         {%  endblocktrans %}
10 </div>
11 <div id="main-body" style="text-align: center; height: 400px;">
12 <form action="{% url search %}" method="get">
13     {% csrf_token %}
14     <div>
15         <input type="text" class="searchInput" value="{{ keywords }}" name="q" id="keywords" style="width: 600px" />
16         <input type="submit" name="Submit" value="{% trans "search" %}" class="searchBtn" />
17     </div>
18     <div class="options">
19         <input id="type-question" type="radio" value="question" name="t"
20             checked="checked" /><label for="type-question">{% trans "questions" %}</label>
21         <input id="type-tag" type="radio" value="tag" name="t" /><label for="type-tag">{% trans "tags" %}</label>
22         <input id="type-user" type="radio" value="user" name="t" /><label for="type-user">{% trans "users" %}</label>
23     </div>
24 </form>
25 </div>
26 {% endblock %}