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.
42 lines
1.4 KiB
42 lines
1.4 KiB
19 years ago
|
<%= error_messages_for 'tracker' %>
|
||
16 years ago
|
|
||
|
<div class="splitcontentleft">
|
||
|
<div class="box tabular">
|
||
19 years ago
|
<!--[form:tracker]-->
|
||
18 years ago
|
<p><%= f.text_field :name, :required => true %></p>
|
||
|
<p><%= f.check_box :is_in_roadmap %></p>
|
||
15 years ago
|
|
||
|
<% if IssueCustomField.all.any? %>
|
||
|
<p>
|
||
|
<label><%= l(:label_custom_field_plural) %></label>
|
||
|
<% IssueCustomField.all.each do |field| %>
|
||
|
<label class="block">
|
||
|
<%= check_box_tag 'tracker[custom_field_ids][]',field.id, @tracker.custom_fields.include?(field) %>
|
||
|
<%=h field.name %>
|
||
|
</label>
|
||
|
<% end %>
|
||
|
</p>
|
||
|
<%= hidden_field_tag 'tracker[custom_field_ids][]', '' %>
|
||
|
<% end %>
|
||
|
|
||
17 years ago
|
<% if @tracker.new_record? && @trackers.any? %>
|
||
13 years ago
|
<p><label for="copy_workflow_from"><%= l(:label_copy_workflow_from) %></label>
|
||
17 years ago
|
<%= select_tag(:copy_workflow_from, content_tag("option") + options_from_collection_for_select(@trackers, :id, :name)) %></p>
|
||
18 years ago
|
<% end %>
|
||
19 years ago
|
<!--[eoform:tracker]-->
|
||
18 years ago
|
</div>
|
||
15 years ago
|
<%= submit_tag l(@tracker.new_record? ? :button_create : :button_save) %>
|
||
16 years ago
|
</div>
|
||
|
|
||
|
<div class="splitcontentright">
|
||
|
<% if @projects.any? %>
|
||
|
<fieldset class="box" id="tracker_project_ids"><legend><%= l(:label_project_plural) %></legend>
|
||
|
<%= project_nested_ul(@projects) do |p|
|
||
|
content_tag('label', check_box_tag('tracker[project_ids][]', p.id, @tracker.projects.include?(p), :id => nil) + ' ' + h(p))
|
||
|
end %>
|
||
|
<%= hidden_field_tag('tracker[project_ids][]', '', :id => nil) %>
|
||
|
<p><%= check_all_links 'tracker_project_ids' %></p>
|
||
|
</fieldset>
|
||
|
<% end %>
|
||
|
</div>
|