diff --git a/app/views/tolk/locales/all.html.erb b/app/views/tolk/locales/all.html.erb index 80f1ff6..eaf3f6c 100644 --- a/app/views/tolk/locales/all.html.erb +++ b/app/views/tolk/locales/all.html.erb @@ -8,12 +8,7 @@ <% end %>
diff --git a/app/views/tolk/locales/show.html.erb b/app/views/tolk/locales/show.html.erb index 5c91e4f..019383c 100644 --- a/app/views/tolk/locales/show.html.erb +++ b/app/views/tolk/locales/show.html.erb @@ -13,12 +13,7 @@ <% end %>
diff --git a/app/views/tolk/searches/_form.html.erb b/app/views/tolk/searches/_form.html.erb new file mode 100644 index 0000000..372d21c --- /dev/null +++ b/app/views/tolk/searches/_form.html.erb @@ -0,0 +1,6 @@ +<% form_tag "/tolk/search", :method => :get do %> + <%= hidden_field_tag :locale, locale.name %> + Search for an English phrase: + <%= text_field_tag :q, params[:q] %> + <%= submit_tag "Search", :name => nil %> +<% end %> diff --git a/app/views/tolk/searches/show.html.erb b/app/views/tolk/searches/show.html.erb index faabe26..d934967 100644 --- a/app/views/tolk/searches/show.html.erb +++ b/app/views/tolk/searches/show.html.erb @@ -3,12 +3,7 @@ <% end %>