Browse files

Add search form

  • Loading branch information...
paltman committed May 24, 2015
1 parent 921ebed commit f1f6b58d97e81c328ace40d2fcd04bbcb696165a
Showing with 9 additions and 0 deletions.
  1. +9 −0 ppb/templates/pinax/blog/blog_base.html
@@ -19,6 +19,15 @@
<p>Pinax is an open-source platform of apps, starter projects, and themes, built on the Django Web Framework.</p>
<p>It takes care of the things that many sites have in common so you can focus on what makes your site different.</p>
<div class="search">
<form class="form-inline" action="{% url "blog" %}">
<div class="input-group">
<span class="input-group-addon"><i class="fa fa-search"></i></span>
<input class="form-control" type="search" placeholder="Search blog..." name="q" value="{{ request.GET.q }}">
{% endblock %}

0 comments on commit f1f6b58

Please sign in to comment.