Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
resize onebox input by using bootstrap's sass grid
- Loading branch information
1 parent
74fe760
commit 3b2330e
Showing
2 changed files
with
17 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
<%= form_tag alphabetical_concepts_path(:prefix => nil), :method => :get, | ||
:class => "onebox" do %> | ||
<%= search_field_tag "prefix", nil, :id => nil, | ||
:class => "form-control onebox-input", | ||
:autofocus => true, | ||
:placeholder => t("txt.views.frontpage.type_to_browse") %> | ||
<% end %> | ||
<div class="onebox"> | ||
<%= form_tag alphabetical_concepts_path(:prefix => nil), :method => :get, :class => "onebox-form" do %> | ||
<div class="onebox-input-wrapper"> | ||
<%= search_field_tag "prefix", nil, :id => nil, | ||
:class => "form-control onebox-input", | ||
:autofocus => true, | ||
:placeholder => t("txt.views.frontpage.type_to_browse") %> | ||
</div> | ||
<% end %> | ||
</div> |