add input name

This commit is contained in:
wlx 2013-04-10 04:07:40 +00:00
parent 83235644fc
commit de7c362b25
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@
</div>
<form class="form-search" id="search" enctype="application/x-www-form-urlencoded" action="/knowledge/search" method="post">
<div class="input-append">
<input class="span2" id="q" type="text" value="<?php echo (empty($this->key))?'':$this->key; ?>" placeholder="搜索作者和标题">
<input class="span2" id="q" name="q" type="text" value="<?php echo (empty($this->key))?'':$this->key; ?>" placeholder="搜索作者和标题">
<div class="btn-group">
<button class="btn dropdown-toggle" data-toggle="dropdown">