<commit_before><%= form_for @search, :url => services_path, :html => {:method => :get} do |f| %>
    <%= f.label :name_contains %>
    <%= f.text_field :name_or_location_contains %><br />

    <!-- etc... -->
    <%= f.submit %>
<% end %>



<div class="container">
    <div class="row">
        <div class="span12">
        <% @services.each do |service| %>

        <div class="card people">
          <div class="card-top">
            <a href="#modal_<%=service.id.to_s%>" data-toggle="modal">
               <img src="<%= service.picture_url %>" alt=""/>
            </a>
          </div>
          <div class="card-info">
            <!-- Modal -->
            <div id="modal_<%=service.id.to_s%>" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
              <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                <h3 id="myModalLabel"><%= service.name %></h3>
              </div>
              <div class="modal-body">
                Description
                <hr>
                <div>
                  <%= service.brief_description %>
                </div>
                <div>
                  <%= service.long_description %>
                </div>
                <br>
                <div>
                  Location: <%= service.location%>
                </div>
                <div>
                  Fee: $<%= service.fee%>
                </div>
              </div>
              <div class="modal-footer">
                <%= link_to "Connect", user_path(service.user.id), :class=>"btn btn-primary" %>
                <button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
              </div>
            </div>
            <a href="#modal_<%=service.id.to_s%>" data-toggle="modal" class="title"> <%=service.name%></a>
            <div class="desc">
              <%= service.brief_description %>
              <div class="text-center">
                <%= service.location %>
              </div>
              <div class="text-center">
                <%= service.fee %>$
              </div>            
            </div>
          </div>
          <div class="card-bottom">
            <%= link_to "Connect", user_path(service.user.id), :class=>"btn btn-primary btn-block" %>
          </div>
        </div>         
        <% end %>
    </div>
    </div>
</div>
<commit_msg>remove search from services index<commit_after>


<div class="container">
    <div class="row">
        <div class="span12">
        <% @services.each do |service| %>

        <div class="card people">
          <div class="card-top">
            <a href="#modal_<%=service.id.to_s%>" data-toggle="modal">
               <img src="<%= service.picture_url %>" alt=""/>
            </a>
          </div>
          <div class="card-info">
            <!-- Modal -->
            <div id="modal_<%=service.id.to_s%>" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
              <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                <h3 id="myModalLabel"><%= service.name %></h3>
              </div>
              <div class="modal-body">
                Description
                <hr>
                <div>
                  <%= service.brief_description %>
                </div>
                <div>
                  <%= service.long_description %>
                </div>
                <br>
                <div>
                  Location: <%= service.location%>
                </div>
                <div>
                  Fee: $<%= service.fee%>
                </div>
              </div>
              <div class="modal-footer">
                <%= link_to "Connect", user_path(service.user.id), :class=>"btn btn-primary" %>
                <button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
              </div>
            </div>
            <a href="#modal_<%=service.id.to_s%>" data-toggle="modal" class="title"> <%=service.name%></a>
            <div class="desc">
              <%= service.brief_description %>
              <div class="text-center">
                <%= service.location %>
              </div>
              <div class="text-center">
                <%= service.fee %>$
              </div>            
            </div>
          </div>
          <div class="card-bottom">
            <%= link_to "Connect", user_path(service.user.id), :class=>"btn btn-primary btn-block" %>
          </div>
        </div>         
        <% end %>
    </div>
    </div>
</div>

{'fraction_non_alphanumeric': 0.17670598146588037, 'fraction_numerical': 0.0021061499578770007, 'mean_word_length': 1.38763197586727, 'pattern_counts': {'":': 0, '<': 144, '<?xml version=': 0, '>': 151, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5312105', 'n_tokens_mistral': 1440, 'n_tokens_neox': 1315, 'n_words': 247}