##// END OF EJS Templates
Refactor: Extracted saving logic out of #update and into a utility method...
Refactor: Extracted saving logic out of #update and into a utility method Now #issue_update can be refactored and push to the Model(s) while keeping the public interface (#update) clean. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3497 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r3030:8f9f56502d16
r3383:ddec53b9a247
Show More
new.rhtml
9 lines | 531 B | text/html+ruby | RhtmlLexer
<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.type %>
&#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 %>