<% if tab[:name] == 'IssueCustomField' %> <% end %> <% (@custom_fields_by_type[tab[:name]] || []).sort.each do |custom_field| -%> "> <% if tab[:name] == 'IssueCustomField' %> <% end %> <% end; reset_cycle %>
<%=l(:field_name)%> <%=l(:field_field_format)%> <%=l(:field_is_required)%><%=l(:field_is_for_all)%> <%=l(:label_used_by)%><%=l(:button_sort)%>
<%= link_to h(custom_field.name), edit_custom_field_path(custom_field) %> <%= l(custom_field.format.label) %> <%= checked_image custom_field.is_required? %><%= checked_image custom_field.is_for_all? %> <%= l(:label_x_projects, :count => custom_field.projects.count) if custom_field.is_a? IssueCustomField and !custom_field.is_for_all? %><%= reorder_links('custom_field', {:action => 'update', :id => custom_field}, :put) %> <%= delete_link custom_field_path(custom_field) %>