From d700982fa2c6cbb22154d82b4e07bfc0a84889fc Mon Sep 17 00:00:00 2001 From: Victor Costa Date: Wed, 29 Jan 2014 17:01:34 -0300 Subject: [PATCH] rails3: output html tags --- app/helpers/application_helper.rb | 2 +- app/views/content_viewer/image_gallery.html.erb | 2 +- app/views/home/index.html.erb | 6 +++--- app/views/profile/_profile_comment_form.html.erb | 2 +- app/views/profile/_profile_scrap_reply_form.html.erb | 2 +- app/views/profile/_profile_wall.html.erb | 2 +- app/views/profile_members/_add_admins.html.erb | 2 +- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index b9b9e7f..a07ec9b 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -1172,7 +1172,7 @@ module ApplicationHelper text_area(object_name, method, { :id => text_area_id, :onkeyup => "limited_text_area('#{text_area_id}', #{limit})" }.merge(options)), content_tag(:p, content_tag(:span, limit) + ' ' + _(' characters left'), :id => text_area_id + '_left'), content_tag(:p, _('Limit of characters reached'), :id => text_area_id + '_limit', :style => 'display: none') - ], :class => 'limited-text-area') + ].join, :class => 'limited-text-area') end def expandable_text_area(object_name, method, text_area_id, options = {}) diff --git a/app/views/content_viewer/image_gallery.html.erb b/app/views/content_viewer/image_gallery.html.erb index 585adbd..058f347 100644 --- a/app/views/content_viewer/image_gallery.html.erb +++ b/app/views/content_viewer/image_gallery.html.erb @@ -10,7 +10,7 @@ <% end %>