Created
April 11, 2020 17:58
-
-
Save Tlazypanda/10c34d3b4796c7c9a856c0659011f313 to your computer and use it in GitHub Desktop.
#app/views/questions/_index.html.erb
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
<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" class=" | |
<%= "disabled " if !current_user %>form-control search-query typeahead" | |
qryType="questions" placeholder="type your question"> | |
<label class="questions_searchform_label" | |
for="questions_searchform_input">Ask question</label> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment