diff --git a/elasticsearch-rails/lib/rails/templates/01-basic.rb b/elasticsearch-rails/lib/rails/templates/01-basic.rb
index <HASH>..<HASH> 100644
--- a/elasticsearch-rails/lib/rails/templates/01-basic.rb
+++ b/elasticsearch-rails/lib/rails/templates/01-basic.rb
@@ -209,9 +209,10 @@ inject_into_file 'app/controllers/articles_controller.rb', before: %r|^\s*# GET 
   CODE
 end
 
-inject_into_file 'app/views/articles/index.html.erb', after: %r{<h1>Listing articles</h1>} do
+inject_into_file 'app/views/articles/index.html.erb', after: %r{<h1>Listing articles</h1>}i do
   <<-CODE
 
+
   <hr>
 
   <%= form_tag search_articles_path, method: 'get' do %>
@@ -221,7 +222,6 @@ inject_into_file 'app/views/articles/index.html.erb', after: %r{<h1>Listing arti
   <% end %>
 
   <hr>
-
   CODE
 end
[RAILS] Fixed an error in the <I>-pretty.rb template

Due to different capitalization of the main header, the search <form> was not inserted into the `index.html.erb` template.

Closes #<I>