Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#app/views/questions/_index.html.erb
<form id="questions_searchform" role="search" autocomplete="off" action="/post">
<div class="input-group">
<input tabindex="1" id="questions_searchform_input" type="text" name="title" aria-label="Ask your question" class="<%= "disabled " if !current_user %>form-control search-query typeahead" qryType="questions" placeholder="type your question">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.