@@ -8,8 +8,8 | |||
|
8 | 8 | |
|
9 | 9 | <p><%= f.text_field :subject, :size => 80, :required => true %></p> |
|
10 | 10 | |
|
11 |
<% |
|
|
12 | <p><%= f.text_field :parent_issue_id, :size => 10 %></p> | |
|
11 | <% if User.current.allowed_to?(:manage_subtasks, @project) %> | |
|
12 | <p id="parent_issue"><%= f.text_field :parent_issue_id, :size => 10 %></p> | |
|
13 | 13 | <div id="parent_issue_candidates" class="autocomplete"></div> |
|
14 | 14 | <%= javascript_tag "observeParentIssueField('#{auto_complete_issues_path(:id => @issue, :project_id => @project) }')" %> |
|
15 | 15 | <% end %> |
@@ -1,7 +1,7 | |||
|
1 | 1 | <h2><%=l(:label_issue_new)%></h2> |
|
2 | 2 | |
|
3 | 3 | <% labelled_tabular_form_for :issue, @issue, :url => {:controller => 'issues', :action => 'create', :project_id => @project}, |
|
4 | :html => {:multipart => true, :id => 'issue-form'} do |f| %> | |
|
4 | :html => {:multipart => true, :id => 'issue-form', :class => 'tabular new-issue-form'} do |f| %> | |
|
5 | 5 | <%= error_messages_for 'issue' %> |
|
6 | 6 | <div class="box"> |
|
7 | 7 | <%= render :partial => 'issues/form', :locals => {:f => f} %> |
General Comments 0
You need to be logged in to leave comments.
Login now