2009-12-09 13:49:58 +03:00
|
|
|
<h2><%= link_to l(:label_custom_field_plural), :controller => 'custom_fields', :action => 'index' %>
|
2011-07-20 00:20:18 +04:00
|
|
|
» <%= link_to l(@custom_field.type_name), :controller => 'custom_fields', :action => 'index', :tab => @custom_field.class.name %>
|
2009-12-09 13:49:58 +03:00
|
|
|
» <%= l(:label_custom_field_new) %></h2>
|
2006-06-28 22:11:03 +04:00
|
|
|
|
2011-12-09 22:15:55 +04:00
|
|
|
<% labelled_form_for :custom_field, @custom_field, :url => { :action => "new" } do |f| %>
|
2006-12-17 17:22:09 +03:00
|
|
|
<%= render :partial => 'form', :locals => { :f => f } %>
|
|
|
|
<%= hidden_field_tag 'type', @custom_field.type %>
|
|
|
|
<%= submit_tag l(:button_save) %>
|
|
|
|
<% end %>
|