##// END OF EJS Templates
ruby1.9 compatibility...
ruby1.9 compatibility git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4601 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r3048:c66943c9b893
r4481:9748567452cc
Show More
_form.rhtml
41 lines | 1.4 KiB | text/html+ruby | RhtmlLexer
Jean-Philippe Lang
Initial commit...
r2 <%= error_messages_for 'tracker' %>
Jean-Philippe Lang
Adds projects association on tracker form (#2578)....
r2333
<div class="splitcontentleft">
<div class="box tabular">
Jean-Philippe Lang
Initial commit...
r2 <!--[form:tracker]-->
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <p><%= f.text_field :name, :required => true %></p>
<p><%= f.check_box :is_in_roadmap %></p>
Jean-Philippe Lang
Adds custom field selection on tracker form....
r3031
<% 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 %>
Jean-Philippe Lang
Workflow copy:...
r1237 <% if @tracker.new_record? && @trackers.any? %>
<p><label><%= l(:label_copy_workflow_from) %></label>
<%= select_tag(:copy_workflow_from, content_tag("option") + options_from_collection_for_select(@trackers, :id, :name)) %></p>
Jean-Philippe Lang
Added the ability to copy an existing workflow when creating a new tracker....
r396 <% end %>
Jean-Philippe Lang
Initial commit...
r2 <!--[eoform:tracker]-->
Jean-Philippe Lang
tables and forms redesign,...
r19 </div>
Jean-Philippe Lang
Moves submit button to tracker form....
r3032 <%= submit_tag l(@tracker.new_record? ? :button_create : :button_save) %>
Jean-Philippe Lang
Adds projects association on tracker form (#2578)....
r2333 </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>