kanbanworkflowstimelinescrumrubyroadmapproject-planningproject-managementopenprojectangularissue-trackerifcgantt-chartganttbug-trackerboardsbcf
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
1.9 KiB
50 lines
1.9 KiB
19 years ago
|
<h2><%=l(:label_issue_new)%>: <%= @tracker.name %></h2>
|
||
19 years ago
|
|
||
18 years ago
|
<% labelled_tabular_form_for :issue, @issue, :url => {:action => 'add_issue'}, :html => {:multipart => true} do |f| %>
|
||
19 years ago
|
<%= error_messages_for 'issue' %>
|
||
19 years ago
|
<div class="box">
|
||
18 years ago
|
<!--[form:issue]-->
|
||
19 years ago
|
<%= hidden_field_tag 'tracker_id', @tracker.id %>
|
||
18 years ago
|
|
||
|
<div class="splitcontentleft">
|
||
18 years ago
|
<p><%= f.select :priority_id, (@priorities.collect {|p| [p.name, p.id]}), :required => true %></p>
|
||
|
<p><%= f.select :assigned_to_id, (@issue.project.members.collect {|m| [m.name, m.user_id]}), :include_blank => true %></p>
|
||
18 years ago
|
<p><%= f.select :category_id, (@project.issue_categories.collect {|c| [c.name, c.id]}), :include_blank => true %></p>
|
||
18 years ago
|
</div>
|
||
|
<div class="splitcontentright">
|
||
|
<p><%= f.text_field :start_date, :size => 10 %><%= calendar_for('issue_start_date') %></p>
|
||
|
<p><%= f.text_field :due_date, :size => 10 %><%= calendar_for('issue_due_date') %></p>
|
||
|
<p><%= f.select :done_ratio, ((0..10).to_a.collect {|r| ["#{r*10} %", r*10] }) %></p>
|
||
|
</div>
|
||
|
|
||
|
<div class="clear">
|
||
18 years ago
|
<p><%= f.text_field :subject, :size => 80, :required => true %></p>
|
||
|
<p><%= f.text_area :description, :cols => 60, :rows => 10, :required => true %></p>
|
||
19 years ago
|
|
||
19 years ago
|
<% for @custom_value in @custom_values %>
|
||
|
<p><%= custom_field_tag_with_label @custom_value %></p>
|
||
19 years ago
|
<% end %>
|
||
|
|
||
18 years ago
|
<p id="attachments_p"><label for="attachment_file"><%=l(:label_attachment)%>
|
||
|
<%= link_to_function image_tag('add'), "addFileField()" %></label>
|
||
18 years ago
|
<%= file_field_tag 'attachments[]', :size => 30 %></p>
|
||
19 years ago
|
|
||
18 years ago
|
</div>
|
||
|
<!--[eoform:issue]-->
|
||
|
</div>
|
||
19 years ago
|
<%= submit_tag l(:button_create) %>
|
||
18 years ago
|
<% end %>
|
||
|
|
||
|
<% unless $RDM_TEXTILE_DISABLED %>
|
||
|
<%= javascript_include_tag 'jstoolbar' %>
|
||
|
<script type="text/javascript">
|
||
|
//<![CDATA[
|
||
|
if (document.getElementById) {
|
||
|
if (document.getElementById('issue_description')) {
|
||
|
var commentTb = new jsToolBar(document.getElementById('issue_description'));
|
||
|
commentTb.draw();
|
||
|
}
|
||
|
}
|
||
|
//]]>
|
||
|
</script>
|
||
18 years ago
|
<% end %>
|