@@ -31,6 +31,11 | |||
|
31 | 31 | </div> |
|
32 | 32 | |
|
33 | 33 | <div class="splitcontentright"> |
|
34 | <% if User.current.allowed_to?(:manage_subtasks, @project) %> | |
|
35 | <p id="parent_issue"><%= f.text_field :parent_issue_id, :size => 10 %></p> | |
|
36 | <div id="parent_issue_candidates" class="autocomplete"></div> | |
|
37 | <%= javascript_tag "observeParentIssueField('#{auto_complete_issues_path(:id => @issue, :project_id => @project) }')" %> | |
|
38 | <% end %> | |
|
34 | 39 | <p><%= f.text_field :start_date, :size => 10, :disabled => !@issue.leaf? %><%= calendar_for('issue_start_date') if @issue.leaf? %></p> |
|
35 | 40 | <p><%= f.text_field :due_date, :size => 10, :disabled => !@issue.leaf? %><%= calendar_for('issue_due_date') if @issue.leaf? %></p> |
|
36 | 41 | <p><%= f.text_field :estimated_hours, :size => 3, :disabled => !@issue.leaf? %> <%= l(:field_hours) %></p> |
@@ -7,13 +7,6 | |||
|
7 | 7 | :with => "Form.serialize('issue-form')" %> |
|
8 | 8 | |
|
9 | 9 | <p><%= f.text_field :subject, :size => 80, :required => true %></p> |
|
10 | ||
|
11 | <% if User.current.allowed_to?(:manage_subtasks, @project) %> | |
|
12 | <p id="parent_issue"><%= f.text_field :parent_issue_id, :size => 10 %></p> | |
|
13 | <div id="parent_issue_candidates" class="autocomplete"></div> | |
|
14 | <%= javascript_tag "observeParentIssueField('#{auto_complete_issues_path(:id => @issue, :project_id => @project) }')" %> | |
|
15 | <% end %> | |
|
16 | ||
|
17 | 10 | <p><%= f.text_area :description, |
|
18 | 11 | :cols => 60, |
|
19 | 12 | :rows => (@issue.description.blank? ? 10 : [[10, @issue.description.length / 50].max, 100].min), |
General Comments 0
You need to be logged in to leave comments.
Login now