]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/issues/index.html.erb
Remove hand rolled i18n support
[rails.git] / app / views / issues / index.html.erb
index 9fd8f116757d0477d53cde18218d7cfd61410117..4f9d3dbd6d7d91919899509df89d82d9d79b7904 100644 (file)
@@ -24,6 +24,7 @@
       <%= text_field_tag :search_by_user,
                          params[:search_by_user],
                          :placeholder => t(".reported_user"),
       <%= text_field_tag :search_by_user,
                          params[:search_by_user],
                          :placeholder => t(".reported_user"),
+                         :autocomplete => "on",
                          :class => "form-control" %>
     </div>
     <div class="form-group col-md-auto">
                          :class => "form-control" %>
     </div>
     <div class="form-group col-md-auto">
           <td>
             <% if issue.user_updated %>
               <%= t ".last_updated_time_user_html", :user => link_to(issue.user_updated.display_name, user_path(issue.user_updated)),
           <td>
             <% if issue.user_updated %>
               <%= t ".last_updated_time_user_html", :user => link_to(issue.user_updated.display_name, user_path(issue.user_updated)),
-                                                    :time => time_ago_in_words(issue.updated_at, :scope => :'datetime.distance_in_words_ago'),
+                                                    :time => time_ago_in_words(issue.updated_at, :scope => :"datetime.distance_in_words_ago"),
                                                     :title => l(issue.updated_at) %>
             <% else %>
                                                     :title => l(issue.updated_at) %>
             <% else %>
-              <%= t ".last_updated_time_html", :time => time_ago_in_words(issue.updated_at, :scope => :'datetime.distance_in_words_ago'),
+              <%= t ".last_updated_time_html", :time => time_ago_in_words(issue.updated_at, :scope => :"datetime.distance_in_words_ago"),
                                                :title => l(issue.updated_at) %>
             <% end %>
           </td>
                                                :title => l(issue.updated_at) %>
             <% end %>
           </td>