1
0
miroir de https://github.com/redmine/redmine.git synchronisé 2024-08-26 05:57:38 +02:00
redmine/app/views/custom_fields/new.rhtml
Jean-Philippe Lang 0a05da4f33 Removed calls to deprecated Object#type.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6297 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-19 20:20:18 +00:00

10 lignes
537 B
Plaintext

<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_tabular_form_for :custom_field, @custom_field, :url => { :action => "new" } do |f| %>
<%= render :partial => 'form', :locals => { :f => f } %>
<%= hidden_field_tag 'type', @custom_field.type %>
<%= submit_tag l(:button_save) %>
<% end %>