##// END OF EJS Templates
remove trailing white-spaces from app/views/watchers/_watchers.html.erb...
Toshi MARUYAMA -
r7117:0c46faf760dd
parent child
Show More
@@ -1,26 +1,26
1 1 <div class="contextual">
2 <%= link_to_remote l(:button_add),
2 <%= link_to_remote l(:button_add),
3 3 :url => {:controller => 'watchers',
4 4 :action => 'new',
5 5 :object_type => watched.class.name.underscore,
6 6 :object_id => watched} if User.current.allowed_to?(:add_issue_watchers, @project) %>
7 7 </div>
8 8
9 9 <h3><%= l(:label_issue_watchers) %> (<%= watched.watcher_users.size %>)</h3>
10 10
11 11 <% unless @watcher.nil? %>
12 <% remote_form_for(:watcher, @watcher,
12 <% remote_form_for(:watcher, @watcher,
13 13 :url => {:controller => 'watchers',
14 14 :action => 'new',
15 15 :object_type => watched.class.name.underscore,
16 16 :object_id => watched},
17 17 :method => :post,
18 18 :html => {:id => 'new-watcher-form'}) do |f| %>
19 19 <p><%= f.select :user_id, (watched.addable_watcher_users.collect {|m| [m.name, m.id]}), :prompt => "--- #{l(:actionview_instancetag_blank_option)} ---" %>
20 20
21 21 <%= submit_tag l(:button_add) %>
22 22 <%= toggle_link l(:button_cancel), 'new-watcher-form'%></p>
23 23 <% end %>
24 24 <% end %>
25 25
26 26 <%= watchers_list(watched) %>
General Comments 0
You need to be logged in to leave comments. Login now