app/views/interpret/search/perform.html.erb in interpret-0.1.3 vs app/views/interpret/search/perform.html.erb in interpret-0.1.4
- old
+ new
@@ -1,6 +1,6 @@
-<%= content_for :title do %>
+<% content_for :title do %>
Search translations
<%= "by " unless params[:key].blank? && params[:value].blank? %>
<%= params[:key] unless params[:key].blank? %>
<%= "and " unless params[:key].blank? || params[:value].blank? %>
<%= params[:value] unless params[:value].blank? %>
@@ -8,14 +8,12 @@
<div id="header">
<h1>Search translations</h1>
</div>
-
<%= render 'interpret/translations/listing' %>
-
-<%= content_for :sidebar do %>
+<% content_for :sidebar do %>
<h2>Search</h2>
<p>
<%= @translations.size %> results found.
</p>
<div id="side_search">