Skip to content

Commit

Permalink
[#2375] Remove invalid attribute from form inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
aron committed Aug 2, 2012
1 parent df3b5f2 commit 88e7ffd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ckan/templates/package/search.html
Expand Up @@ -11,7 +11,7 @@
<div class="module-content">
<form id="dataset-search" class="dataset-search clearfix" method="get" data-module="select-switch">
<span class="control-group search-giant">
<input type="text" class="search" name="q" value="{{ c.q }}" autocomplete="off" results="0" placeholder="{{ _('Search...') }}" />
<input type="text" class="search" name="q" value="{{ c.q }}" autocomplete="off" placeholder="{{ _('Search...') }}" />
<button type="submit" value="{{ _('Search') }}">Submit</button>
</span>

Expand Down
2 changes: 1 addition & 1 deletion ckan/templates/package/snippets/search_form.html
@@ -1,6 +1,6 @@
<form id="dataset-search" class="dataset-search clearfix" method="GET">
<span class="control-group search-giant">
<input type="text" class="search" name="q" value="{{ c.q }}" autocomplete="off" results="0" placeholder="{{ _('Search...') }}" />
<input type="text" class="search" name="q" value="{{ c.q }}" autocomplete="off" placeholder="{{ _('Search...') }}" />
<button type="submit" value="{{ _('Search') }}">Submit</button>
</span>
{# {{ h.snippet('snippets/sort_by.html', sort=c.sort_by_selected) }} #}
Expand Down

0 comments on commit 88e7ffd

Please sign in to comment.