Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redesigning the search bar #5121

Merged
merged 2 commits into from
Mar 18, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions app/views/tag/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@

<p><%= t('tag.index.browse_popular_tags') %></p>
<br/>
<form id="tagform" class="form-horizontal" method="GET" action="/tag/" style="width: 400px;">
<form id="tagform" class="form-horizontal" method="GET" action="/tag/">
<div class="input-group">
<input type="search" tabindex="1" autocomplete="off" id="taginput" name="id" type="text" placeholder="Search for tags.." data-provide="typeahead" class="form-control" required="required" />
<input type="search" tabindex="1" autocomplete="off" id="taginput" name="id" type="text" placeholder="Search for topics" data-provide="typeahead" class="form-control" required="required" />
<span class="input-group-btn" >
<button type="submit" rel="tooltip" title="View content with the entered title" class="btn btn-primary">Search</button>
<button type="submit" rel="tooltip" title="View content with the entered title" class="btn btn-primary-outline" style="margin-left: -40px;background-color: transparent;"><i class="fa fa-search" style="color: #ccc;"></i></button>
</span>
</div>
</form>
Expand Down