添加关注者

This commit is contained in:
huang 2015-04-15 18:13:51 +08:00
parent 521e000c74
commit aff58dd3a7
1 changed files with 16 additions and 16 deletions

View File

@ -28,21 +28,21 @@
<p style="padding-top: 5px;"><%= render :partial => 'attachments/form', :locals => {:container => @issue} %>
<!--</fieldset>-->
<!--<div class="box tabular" >-->
<!--<p id="watchers_form">-->
<!--<label style="font-size: 15px;"><%#= l(:label_issue_watchers) %></label>-->
<!--<span id="watchers_inputs" style="font-size: 15px;">-->
<!--<%#= watchers_checkboxes(@issue, @available_watchers) %>-->
<!--</span>-->
<!--<span class="search_for_watchers" style="font-size: 15px;">-->
<%#= link_to l(:label_search_for_watchers),
# {:controller => 'watchers', :action => 'new', :project_id => @issue.project},
# :remote => true,
:method => 'get' %>
<!--</span>-->
<!--</p>-->
<!--</div>-->
<!--</div>-->
<div class="box tabular" >
<p id="watchers_form">
<label style="font-size: 15px;"><%= l(:label_issue_watchers) %></label>
<span id="watchers_inputs" style="font-size: 15px;">
<%= watchers_checkboxes(@issue, @available_watchers) %>
</span>
<span class="search_for_watchers" style="font-size: 15px;">
<%= link_to l(:label_search_for_watchers),
{:controller => 'watchers', :action => 'new', :project_id => @issue.project},
:remote => true,
:method => 'get' %>
</span>
</p>
</div>
</div>
<%= f.hidden_field :lock_version %>
<%= hidden_field_tag 'last_journal_id', params[:last_journal_id] || @issue.last_journal_id %>
@ -50,7 +50,7 @@
<a remote="true" href="javascript:void(0)" class="blue_btn fr" onclick="$('#issue-form').submit();">
<%= l(:button_submit) %>
</a>
</p>
</p></br></br>
<%#= submit_tag l(:button_submit) %>
<%#= preview_link preview_edit_issue_path(:project_id => @project, :id => @issue), 'issue-form' %>
<% end %>