whitespace
This commit is contained in:
parent
0f3568466f
commit
cbd9c1158d
1 changed files with 51 additions and 51 deletions
|
@ -7,62 +7,62 @@
|
|||
|
||||
{% block content %}
|
||||
<div id="searchform" class="box">
|
||||
<div class="box-head">
|
||||
<h4>{% trans "Search" %}</h4>
|
||||
</div>
|
||||
<div class="box-content">
|
||||
<form id="search" method="get" action="">
|
||||
<input type="hidden" name="action" value="search" />
|
||||
<div class="box-head">
|
||||
<h4>{% trans "Search" %}</h4>
|
||||
</div>
|
||||
<div class="box-content">
|
||||
<form id="search" method="get" action="">
|
||||
<input type="hidden" name="action" value="search" />
|
||||
|
||||
<label class="conl">
|
||||
<strong>{{ form.keywords.label }}</strong>
|
||||
{{ form.keywords }}
|
||||
</label>
|
||||
<label class="conl">
|
||||
<strong>{{ form.author.label }}</strong>
|
||||
{{ form.author }}
|
||||
</label>
|
||||
<p class="form-help">{% trans "To search by keyword, enter a term or terms to search for. Separate terms with spaces. To search by author enter the username of the author whose posts you wish to search for." %}</p>
|
||||
<label class="conl">
|
||||
<strong>{{ form.keywords.label }}</strong>
|
||||
{{ form.keywords }}
|
||||
</label>
|
||||
<label class="conl">
|
||||
<strong>{{ form.author.label }}</strong>
|
||||
{{ form.author }}
|
||||
</label>
|
||||
<p class="form-help">{% trans "To search by keyword, enter a term or terms to search for. Separate terms with spaces. To search by author enter the username of the author whose posts you wish to search for." %}</p>
|
||||
|
||||
<label class="conl">
|
||||
<strong>{{ form.forum.label }}</strong>
|
||||
<select id="forum" name="forum">
|
||||
<option value="0">{% trans "All forums" %}</option>
|
||||
{% for category in categories %}
|
||||
<optgroup label="{{ category }}">
|
||||
{% for forum in category.forums.all %}
|
||||
<option value="{{ forum.id }}">{{ forum }}</option>
|
||||
{% endfor %}
|
||||
</optgroup>
|
||||
{% endfor %}
|
||||
</select>
|
||||
</label>
|
||||
<label class="conl">
|
||||
<strong>{{ form.search_in.label }}</strong>
|
||||
{{ form.search_in }}
|
||||
</label>
|
||||
<p class="form-help">{% trans "Choose in which forum you would like to search and if you want to search in topic subjects, message text or both." %}</p>
|
||||
<label class="conl">
|
||||
<strong>{{ form.forum.label }}</strong>
|
||||
<select id="forum" name="forum">
|
||||
<option value="0">{% trans "All forums" %}</option>
|
||||
{% for category in categories %}
|
||||
<optgroup label="{{ category }}">
|
||||
{% for forum in category.forums.all %}
|
||||
<option value="{{ forum.id }}">{{ forum }}</option>
|
||||
{% endfor %}
|
||||
</optgroup>
|
||||
{% endfor %}
|
||||
</select>
|
||||
</label>
|
||||
<label class="conl">
|
||||
<strong>{{ form.search_in.label }}</strong>
|
||||
{{ form.search_in }}
|
||||
</label>
|
||||
<p class="form-help">{% trans "Choose in which forum you would like to search and if you want to search in topic subjects, message text or both." %}</p>
|
||||
|
||||
<label class="conl">
|
||||
<strong>{{ form.sort_by.label }}</strong>
|
||||
{{ form.sort_by }}
|
||||
</label>
|
||||
<label class="conl">
|
||||
<strong>{{ form.sort_dir.label }}</strong>
|
||||
{{ form.sort_dir }}
|
||||
</label>
|
||||
<label class="conl">
|
||||
<strong>{{ form.show_as.label }}</strong>
|
||||
{{ form.show_as }}
|
||||
</label>
|
||||
<p class="form-help">{% trans "You can choose how you wish to sort and show your results." %}</p>
|
||||
<label class="conl">
|
||||
<strong>{{ form.sort_by.label }}</strong>
|
||||
{{ form.sort_by }}
|
||||
</label>
|
||||
<label class="conl">
|
||||
<strong>{{ form.sort_dir.label }}</strong>
|
||||
{{ form.sort_dir }}
|
||||
</label>
|
||||
<label class="conl">
|
||||
<strong>{{ form.show_as.label }}</strong>
|
||||
{{ form.show_as }}
|
||||
</label>
|
||||
<p class="form-help">{% trans "You can choose how you wish to sort and show your results." %}</p>
|
||||
|
||||
<p class="form-submit">
|
||||
<button type="submit" class="grey button" accesskey="s"><span>{% trans "Submit" %}</span></button>
|
||||
<p class="form-submit">
|
||||
<button type="submit" class="grey button" accesskey="s"><span>{% trans "Submit" %}</span></button>
|
||||
<a href="javascript:history.go(-1)">{% trans "Go back" %}</a>
|
||||
</p>
|
||||
</form>
|
||||
</div>
|
||||
</p>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
|
|
Reference in a new issue