Commit 6b3dc1068a85143d2465296701879018676f4bd3

Authored by Nick Recobra
1 parent 74ed31b0
Exists in master and in 1 other branch production

Fixed haml deprecation warning.

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
app/views/apps/_fields.html.haml
@@ -10,7 +10,7 @@ @@ -10,7 +10,7 @@
10 10
11 %fieldset.nested-wrapper 11 %fieldset.nested-wrapper
12 %legend Watchers 12 %legend Watchers
13 - - f.fields_for :watchers do |w| 13 + = f.fields_for :watchers do |w|
14 %div.watcher.nested 14 %div.watcher.nested
15 %div.choose 15 %div.choose
16 = w.radio_button :watcher_type, :user 16 = w.radio_button :watcher_type, :user
@@ -20,4 +20,4 @@ @@ -20,4 +20,4 @@
20 %div.user{:class => w.object.email.blank? ? 'choosen' : nil} 20 %div.user{:class => w.object.email.blank? ? 'choosen' : nil}
21 = w.select :user_id, User.all.map{|u| [u.name,u.id.to_s]}, :include_blank => '-- Select a User --' 21 = w.select :user_id, User.all.map{|u| [u.name,u.id.to_s]}, :include_blank => '-- Select a User --'
22 %div.email{:class => w.object.email.present? ? 'choosen' : nil} 22 %div.email{:class => w.object.email.present? ? 'choosen' : nil}
23 - = w.text_field :email  
24 \ No newline at end of file 23 \ No newline at end of file
  24 + = w.text_field :email