]> source.dussan.org Git - redmine.git/commitdiff
Add missing partial (#4347).
authorMarius Balteanu <marius.balteanu@zitec.com>
Sat, 19 Mar 2022 11:27:57 +0000 (11:27 +0000)
committerMarius Balteanu <marius.balteanu@zitec.com>
Sat, 19 Mar 2022 11:27:57 +0000 (11:27 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@21470 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/users/_auto_watch_on.html.erb [new file with mode: 0644]

diff --git a/app/views/users/_auto_watch_on.html.erb b/app/views/users/_auto_watch_on.html.erb
new file mode 100644 (file)
index 0000000..28d1fa2
--- /dev/null
@@ -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 %>