Commit f10878fb authored by Tom Mortimer-Jones's avatar Tom Mortimer-Jones
Browse files

[1252] Change form to div to avoid it being submitted by spiders

parent 8f65e5c4
......@@ -35,7 +35,7 @@
<div class="module-content">
<a href="#" class="visible-sm visible-xs btn btn-primary btn-sm show-facets">Show Search Facets &raquo;</a>
{% block form %}
<form class="form-inline pull-right" id="search-sort-by">
<div class="form-inline pull-right" id="search-sort-by">
{% macro sort_option(text, value, selected, disabled=False) %}
<option value="{{value}}" {% if selected %} selected="selected"{% endif %}{% if disabled %} disabled="disabled"{% endif %}>{{text}}</option>
{% endmacro %}
......@@ -51,7 +51,7 @@
<a class="feed-icon" href="{{ h.url(controller='feed', action='custom') }}?{{ c.search_url_params }}">
<i class="icon-rss-sign"></i>
</a>
</form>
</div>
{% endblock %}
{% if not c.query_error %}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment