summaryrefslogtreecommitdiffstats
path: root/app/views/custom_fields/edit.rhtml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/custom_fields/edit.rhtml')
-rw-r--r--app/views/custom_fields/edit.rhtml8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/views/custom_fields/edit.rhtml b/app/views/custom_fields/edit.rhtml
index 201047a8d..ef056fa41 100644
--- a/app/views/custom_fields/edit.rhtml
+++ b/app/views/custom_fields/edit.rhtml
@@ -1,6 +1,6 @@
<h2><%=l(:label_custom_field)%> (<%=l(@custom_field.type_name)%>)</h2>
-<%= start_form_tag({:action => 'edit', :id => @custom_field}, :class => "tabular") %>
- <%= render :partial => 'form', :locals => { :type => @custom_field.type } %>
- <%= submit_tag l(:button_save) %>
-<%= end_form_tag %>
+<% labelled_tabular_form_for :custom_field, @custom_field, :url => { :action => "edit", :id => @custom_field } do |f| %>
+<%= render :partial => 'form', :locals => { :f => f } %>
+<%= submit_tag l(:button_save) %>
+<% end %>