diff options
-rw-r--r-- | app/views/users/_auto_watch_on.html.erb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/views/users/_auto_watch_on.html.erb b/app/views/users/_auto_watch_on.html.erb new file mode 100644 index 000000000..28d1fa21f --- /dev/null +++ b/app/views/users/_auto_watch_on.html.erb @@ -0,0 +1,5 @@ +<%= labelled_fields_for :pref, @user.pref do |pref_fields| %> + <%= pref_fields.collection_check_boxes :auto_watch_on, auto_watch_on_options, :last, :first, :checked => @user.pref.auto_watch_on do |b| %> + <p><%= b.check_box %> <%= b.label %></p> + <% end %> +<% end %> |