|
|
|
@ -27,7 +27,10 @@
|
|
|
|
|
<p id="attachments_form"><label><%= l(:label_attachment_plural) %></label><%= render :partial => 'attachments/form', :locals => {:container => @issue} %></p>
|
|
|
|
|
|
|
|
|
|
<% if @issue.safe_attribute? 'watcher_user_ids' -%>
|
|
|
|
|
<p id="watchers_form"><label><%= l(:label_issue_watchers) %></label>
|
|
|
|
|
<p id="watchers_form">
|
|
|
|
|
<label>
|
|
|
|
|
<%= l(:label_issue_watchers) %>
|
|
|
|
|
</label>
|
|
|
|
|
<span id="watchers_inputs">
|
|
|
|
|
<%= watchers_checkboxes(@issue, @available_watchers) %>
|
|
|
|
|
</span>
|
|
|
|
@ -40,10 +43,10 @@
|
|
|
|
|
</p>
|
|
|
|
|
<% end %>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<%= submit_tag l(:button_create), :class => "ButtonAddTags"%>
|
|
|
|
|
<%= submit_tag l(:button_create_and_continue), :class => 'ButtonAddTags' %>
|
|
|
|
|
<%= preview_link preview_new_issue_path(:project_id => @project), 'issue-form','preview',{:class => "ButtonColor"}%>
|
|
|
|
|
<a href="#" class="ButtonColor m3p10" onclick="$('#issue-form').submit();">
|
|
|
|
|
<%= l(:button_create)%>
|
|
|
|
|
</a>
|
|
|
|
|
<%= preview_link preview_new_issue_path(:project_id => @project), 'issue-form','preview',{:class => "ButtonColor m3p10"}%>
|
|
|
|
|
|
|
|
|
|
<%= javascript_tag "$('#issue_subject').focus();" %>
|
|
|
|
|
<% end %>
|
|
|
|
|