Permalink
Browse files

Really format translations properly in search results.

  • Loading branch information...
Craig Davey
Craig Davey committed Apr 22, 2010
1 parent 0e86a85 commit abbf1714a86e748dbf658f0d9c21ef45227afd1e
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/views/tolk/searches/show.html.erb
@@ -33,7 +33,7 @@
<%= hidden_field_tag :"translations[][id]", translation.id, :id => "#{translation.object_id}_id" %>
<%= hidden_field_tag :"translations[][phrase_id]", phrase.id, :id => "#{translation.object_id}_phrase_id" %>
<%= hidden_field_tag :"translations[][locale_id]", translation.locale_id, :id => "#{translation.object_id}_locale_id" %>
- <%= text_area_tag :"translations[][text]", format_i18n_value(translation.text), :class => "locale", :id => "#{translation.object_id}_text", :onfocus => "$(this).up('tr').addClassName('active');", :onblur => "$(this).up('tr').removeClassName('active');" %>
+ <%= text_area_tag :"translations[][text]", format_i18n_text_area_value(translation.text), :class => "locale", :id => "#{translation.object_id}_text", :onfocus => "$(this).up('tr').addClassName('active');", :onblur => "$(this).up('tr').removeClassName('active');" %>
</td>
<td class="phrase">
<% if params[:q].present? -%>

0 comments on commit abbf171

Please sign in to comment.