In my RoR application I've added to my search input a glyphicon inside my lateral button but this is the result:
The icon is not renderized.
this is my code:
<div class="top-space"> <!--.top-space-->
<div class="row"> <!--.row-->
<div class="col-md-8 col-md-offset-2"><!--.col-->
<h1 class="text-center">Search a Project</h1>
<%= form_tag find_path,:class => 'input-group' ,:method => 'post' do%>
<%=text_field_tag :search, params[:search], :class => 'form-control'%>
<span class="input-group-btn">
<%= button_tag(type: 'submit', class: "btn btn-primary",) do %>
<i class="glyphicon glyphicon-search"></i>
<% end %>
</span>
<% end %>
</div> <!--.col-->
</div> <!--.row-->
What is the issue here?