From 6b3dc1068a85143d2465296701879018676f4bd3 Mon Sep 17 00:00:00 2001 From: Nick Recobra Date: Wed, 23 Mar 2011 14:08:19 +0300 Subject: [PATCH] Fixed haml deprecation warning. --- app/views/apps/_fields.html.haml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/apps/_fields.html.haml b/app/views/apps/_fields.html.haml index 0a2c820..b96e782 100644 --- a/app/views/apps/_fields.html.haml +++ b/app/views/apps/_fields.html.haml @@ -10,7 +10,7 @@ %fieldset.nested-wrapper %legend Watchers - - f.fields_for :watchers do |w| + = f.fields_for :watchers do |w| %div.watcher.nested %div.choose = w.radio_button :watcher_type, :user @@ -20,4 +20,4 @@ %div.user{:class => w.object.email.blank? ? 'choosen' : nil} = w.select :user_id, User.all.map{|u| [u.name,u.id.to_s]}, :include_blank => '-- Select a User --' %div.email{:class => w.object.email.present? ? 'choosen' : nil} - = w.text_field :email \ No newline at end of file + = w.text_field :email -- libgit2 0.21.2