%#-- copyright
OpenProject is a project management system.
Copyright (C) 2012-2013 the OpenProject Team
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License version 3.
See doc/COPYRIGHT.rdoc for more details.
++#%>
<%= link_to l(:label_custom_field_plural), :controller => '/custom_fields', :action => 'index' %>
» <%= link_to l(@custom_field.type_name), :controller => '/custom_fields', :action => 'index', :tab => @custom_field.type %>
» <%=h @custom_field.name %>
<%= labelled_tabular_form_for @custom_field, :as => :custom_field,
:url => { :action => "edit",
:id => @custom_field } do |f| %>
<%= render :partial => 'form', :locals => { :f => f } %>
<%= submit_tag l(:button_save) %>
<% end %>