Chris@0:

<%= link_to l(:label_custom_field_plural), :controller => 'custom_fields', :action => 'index' %> Chris@0: » <%= link_to l(@custom_field.type_name), :controller => 'custom_fields', :action => 'index', :tab => @custom_field.type %> Chris@0: » <%= l(:label_custom_field_new) %>

Chris@0: Chris@0: <% labelled_tabular_form_for :custom_field, @custom_field, :url => { :action => "new" } do |f| %> Chris@0: <%= render :partial => 'form', :locals => { :f => f } %> Chris@0: <%= hidden_field_tag 'type', @custom_field.type %> Chris@0: <%= submit_tag l(:button_save) %> Chris@0: <% end %>