Permalink
Browse files

a bit more simplified

  • Loading branch information...
1 parent 791be35 commit a51b0dd19e8ed803e2ce0a8390ab9b2ea6261c70 @kennethlove kennethlove committed Jun 7, 2012
Showing with 8 additions and 6 deletions.
  1. +4 −6 dp/generic/forms.py
  2. +4 −0 dp/generic/templates/generic/search.html
View
10 dp/generic/forms.py
@@ -41,12 +41,10 @@ def __init__(self, *args, **kwargs):
self.helper = FormHelper()
self.helper.form_method = "POST"
self.helper.layout = Layout(
- Fieldset("Search",
- "location",
- "distance",
- "units",
- "skills",
- ),
+ "location",
+ "distance",
+ "units",
+ "skills",
FormActions(
Submit("search", "Search", css_class="btn btn-info"),
)
View
4 dp/generic/templates/generic/search.html
@@ -3,6 +3,10 @@
{% block home_nav_class %}active{% endblock %}
+{% block page_header %}
+ <h1>Search</h>
+{% endblock %}
+
{% block page_content %}
<div class="row-fluid">
<div class="span3">

0 comments on commit a51b0dd

Please sign in to comment.