Commit 6b3dc1068a85143d2465296701879018676f4bd3
1 parent
74ed31b0
Exists in
master
and in
1 other branch
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 | 10 | |
11 | 11 | %fieldset.nested-wrapper |
12 | 12 | %legend Watchers |
13 | - - f.fields_for :watchers do |w| | |
13 | + = f.fields_for :watchers do |w| | |
14 | 14 | %div.watcher.nested |
15 | 15 | %div.choose |
16 | 16 | = w.radio_button :watcher_type, :user |
... | ... | @@ -20,4 +20,4 @@ |
20 | 20 | %div.user{:class => w.object.email.blank? ? 'choosen' : nil} |
21 | 21 | = w.select :user_id, User.all.map{|u| [u.name,u.id.to_s]}, :include_blank => '-- Select a User --' |
22 | 22 | %div.email{:class => w.object.email.present? ? 'choosen' : nil} |
23 | - = w.text_field :email | |
24 | 23 | \ No newline at end of file |
24 | + = w.text_field :email | ... | ... |