summaryrefslogtreecommitdiffstats
path: root/app/views/custom_fields/new.html.erb
blob: cde4fab580025f12cacf2b943d1d49008f7fdf98 (plain)
1
2
3
4
5
6
7
8
9
<h2><%= link_to l(:label_custom_field_plural), :controller => 'custom_fields', :action => 'index' %>
  &#187; <%= link_to l(@custom_field.type_name), :controller => 'custom_fields', :action => 'index', :tab => @custom_field.class.name %>
  &#187; <%= l(:label_custom_field_new) %></h2>

<%= labelled_form_for :custom_field, @custom_field, :url => custom_fields_path do |f| %>
<%= render :partial => 'form', :locals => { :f => f } %>
<%= hidden_field_tag 'type', @custom_field.type %>
<%= submit_tag l(:button_save) %>
<% end %>