Skip to content

Commit

Permalink
Added search validation for wiki sidebar search (publiclab#2276)
Browse files Browse the repository at this point in the history
  • Loading branch information
namangupta01 authored and Souravirus committed Mar 12, 2018
1 parent 037cdf5 commit e4fe7d9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/views/dashboard/_wiki.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@
<div class="col-lg-8 col-md-7 col-sm-7 col-xs-7">
<div class="input-group">
<form class="search-form-wiki" role="search" autocomplete="off">
<input type="text" class="search-wiki form-control input-sm" style="width:70%;" placeholder="<%= t('dashboard._wiki.search') %>">
<input type="text" class="search-wiki form-control input-sm" id="sidebar-searchform-input" style="width:70%;" placeholder="<%= t('dashboard._wiki.search') %>" required>
<span class="input-group-btn">
<button class="btn btn-sm btn-default" type="submit"><i class="fa fa-search"></i></button>
</span>
</form>

</div>
</div>

Expand Down

0 comments on commit e4fe7d9

Please sign in to comment.