Permalink
Browse files

Don't use django-bootstrap-form, but .as_p so it's 508-compliant

  • Loading branch information...
1 parent 84d5763 commit 816d2643048997d4a473013b76eec0cf915a79fd Chris Shenton committed Apr 17, 2012
Showing with 5 additions and 4 deletions.
  1. +5 −4 pave/templates/search.html
@@ -27,11 +27,12 @@
(Yeah, this is a hack: we need to understand the use case.)</p>
<form id="search" method="POST" action="." class="well form-horizontal">{% csrf_token %}
- <table>
+ {#<table>#}
{# {{ form.as_table }} <!-- also: as_p, as_ul --> #}
- {{ form|bootstrap }}
- </table>
- </br>
+ {#{ form|bootstrap }#}
+ {#</table>#}
+ {{form.as_p}}
+ <br/>
<button type="submit" class="btn btn-primary"><i class="icon-search icon-white"></i> Search</button>
</form>

0 comments on commit 816d264

Please sign in to comment.