<%=_('Custom fields')%>

<% for custom_field in @custom_fields %> <% end %>
<%=_('Name')%> <%=_('Type')%> <%=_('Required')%> <%=_('For all projects')%> <%=_('Used by')%>
<%= 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 %>
<%= 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 %>
<%= link_to ('» ' + _('New custom field')), :action => 'new' %>