From b1996b38b416b52cc6c181eb4c5e34c9c147eb37 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Wed, 7 Dec 2011 23:54:10 +0000 Subject: [PATCH] Rails3: view: html_safe for timelog/_date_range.html.erb git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8122 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/timelog/_date_range.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/timelog/_date_range.html.erb b/app/views/timelog/_date_range.html.erb index d1ceb6fbd..d95dfab95 100644 --- a/app/views/timelog/_date_range.html.erb +++ b/app/views/timelog/_date_range.html.erb @@ -17,7 +17,7 @@ :start => ((label_tag "from", l(:description_date_from), :class => "hidden-for-sighted") + text_field_tag('from', @from, :size => 10, :disabled => !@free_period) + calendar_for('from')), :end => ((label_tag "to", l(:description_date_to), :class => "hidden-for-sighted") + - text_field_tag('to', @to, :size => 10, :disabled => !@free_period) + calendar_for('to'))) %> + text_field_tag('to', @to, :size => 10, :disabled => !@free_period) + calendar_for('to'))).html_safe %>