<%=_('Name')%> |
<%=_('Type')%> |
<%=_('Required')%> |
<%=_('For all projects')%> |
<%=_('Used by')%> |
|
<% for custom_field in @custom_fields %>
">
<%= link_to custom_field.name, :action => 'edit', :id => custom_field %> |
<%= CustomField::TYPES[custom_field.typ][0] %> |
<%= image_tag 'true' if custom_field.is_required? %> |
<%= image_tag 'true' if custom_field.is_for_all? %> |
<%= custom_field.projects.count.to_s + ' ' + _('Project') + '(s)' unless custom_field.is_for_all? %> |
<%= start_form_tag :action => 'destroy', :id => custom_field %>
<%= submit_tag _('Delete'), :class => "button-small" %>
<%= end_form_tag %> |
<% end %>
<%= link_to ('« ' + _('Previous')), { :page => @custom_field_pages.current.previous } if @custom_field_pages.current.previous %>
<%= link_to (_('Next') + ' »'), { :page => @custom_field_pages.current.next } if @custom_field_pages.current.next %>