comparison .svn/pristine/87/87bccc8b0237c60b603b0c9aecb4fc7a1b48b6d1.svn-base @ 1295:622f24f53b42 redmine-2.3

Update to Redmine SVN revision 11972 on 2.3-stable branch
author Chris Cannam
date Fri, 14 Jun 2013 09:02:21 +0100
parents
children
comparison
equal deleted inserted replaced
1294:3e4c3460b6ca 1295:622f24f53b42
1 <h3 class="title"><%= l(:permission_add_issue_watchers) %></h3>
2
3 <%= form_tag({:controller => 'watchers',
4 :action => (watched ? 'create' : 'append'),
5 :object_type => watched.class.name.underscore,
6 :object_id => watched},
7 :remote => true,
8 :method => :post,
9 :id => 'new-watcher-form') do %>
10
11 <p><%= label_tag 'user_search', l(:label_user_search) %><%= text_field_tag 'user_search', nil %></p>
12 <%= javascript_tag "observeSearchfield('user_search', 'users_for_watcher', '#{ escape_javascript url_for(:controller => 'watchers',
13 :action => 'autocomplete_for_user',
14 :object_type => watched.class.name.underscore,
15 :object_id => watched) }')" %>
16
17 <div id="users_for_watcher">
18 <%= principals_check_box_tags 'watcher[user_ids][]', (watched ? watched.addable_watcher_users : User.active.all(:limit => 100)) %>
19 </div>
20
21 <p class="buttons">
22 <%= submit_tag l(:button_add), :name => nil, :onclick => "hideModal(this);" %>
23 <%= submit_tag l(:button_cancel), :name => nil, :onclick => "hideModal(this);", :type => 'button' %>
24 </p>
25 <% end %>