comparison .svn/pristine/ad/ada6049cb9e3f42d297d010fa449795702a9f12a.svn-base @ 1296:038ba2d95de8 redmine-2.2

Fix redmine-2.2 branch update (add missing svn files)
author Chris Cannam
date Fri, 14 Jun 2013 09:05:06 +0100
parents
children
comparison
equal deleted inserted replaced
1294:3e4c3460b6ca 1296:038ba2d95de8
1 <h2><%=l(:label_issue_new)%></h2>
2
3 <%= call_hook(:view_issues_new_top, {:issue => @issue}) %>
4
5 <%= labelled_form_for @issue, :url => project_issues_path(@project),
6 :html => {:id => 'issue-form', :multipart => true} do |f| %>
7 <%= error_messages_for 'issue' %>
8 <%= hidden_field_tag 'copy_from', params[:copy_from] if params[:copy_from] %>
9 <div class="box tabular">
10 <div id="all_attributes">
11 <%= render :partial => 'issues/form', :locals => {:f => f} %>
12 </div>
13
14 <% if @copy_from && @copy_from.attachments.any? %>
15 <p>
16 <label for="copy_attachments"><%= l(:label_copy_attachments) %></label>
17 <%= check_box_tag 'copy_attachments', '1', @copy_attachments %>
18 </p>
19 <% end %>
20 <% if @copy_from && !@copy_from.leaf? %>
21 <p>
22 <label for="copy_subtasks"><%= l(:label_copy_subtasks) %></label>
23 <%= check_box_tag 'copy_subtasks', '1', @copy_subtasks %>
24 </p>
25 <% end %>
26
27 <p id="attachments_form"><label><%= l(:label_attachment_plural) %></label><%= render :partial => 'attachments/form', :locals => {:container => @issue} %></p>
28
29 <% if @issue.safe_attribute? 'watcher_user_ids' -%>
30 <p id="watchers_form"><label><%= l(:label_issue_watchers) %></label>
31 <span id="watchers_inputs">
32 <%= watchers_checkboxes(@issue, @available_watchers) %>
33 </span>
34 <span class="search_for_watchers">
35 <%= link_to l(:label_search_for_watchers),
36 {:controller => 'watchers', :action => 'new', :project_id => @issue.project},
37 :remote => true,
38 :method => 'get' %>
39 </span>
40 </p>
41 <% end %>
42 </div>
43
44 <%= submit_tag l(:button_create) %>
45 <%= submit_tag l(:button_create_and_continue), :name => 'continue' %>
46 <%= preview_link preview_new_issue_path(:project_id => @project), 'issue-form' %>
47
48 <%= javascript_tag "$('#issue_subject').focus();" %>
49 <% end %>
50
51 <div id="preview" class="wiki"></div>
52
53 <% content_for :header_tags do %>
54 <%= robot_exclusion_tag %>
55 <% end %>