Skip to content

Commit

Permalink
Fixes search form.
Browse files Browse the repository at this point in the history
Signed-off-by: Kouhei Maeda <mkouhei@palmtb.net>
  • Loading branch information
mkouhei committed Jul 1, 2015
1 parent 53a4e03 commit 9f6ed22
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions pgraph/templates/layout.pt
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,11 @@
<ul class="nav navbar-nav">
<li><a href="/" class="navbar-brand" title="${project}">${project}</a></li>
</ul>
<form tal:condition="python: request.path is not '/'" class="input-group col-md-3 navbar-nav navbar-left" action="/search">
<input name="pkg_name" type="text" class="form-control" placeholder="search packages" aria-describedby="search-addon" />
<span class="input-group-addon" id="search-addon"><icon class="glyphicon glyphicon-search"/></span>
<form tal:condition="python: request.path is not '/'" class="input-group col-md-3 navbar-nav navbar-form navbar-left" action="/search">
<div class="form-group">
<input name="pkg_name" type="text" class="form-control" placeholder="search packages" aria-describedby="search-addon" />
</div>
<button class="btn btn-default" id="search-addon"><icon class="glyphicon glyphicon-search"/></button>
</form>

<ul class="nav navbar-nav navbar-right">
Expand Down

0 comments on commit 9f6ed22

Please sign in to comment.