Use #labelled_form_for instead of #labelled_tabular_form_for.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8141 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2011-12-09 18:15:55 +00:00
parent 312ffe43c7
commit 9636882c1e
23 changed files with 31 additions and 30 deletions
+2 -2
View File
@@ -60,7 +60,7 @@ function toggle_custom_field_format() {
//]]>
</script>
<div class="box">
<div class="box tabular">
<p><%= f.text_field :name, :required => true %></p>
<p><%= f.select :field_format, custom_field_formats_for_select(@custom_field), {}, :onchange => "toggle_custom_field_format();",
:disabled => !@custom_field.new_record? %></p>
@@ -76,7 +76,7 @@ function toggle_custom_field_format() {
<%= call_hook(:view_custom_fields_form_upper_box, :custom_field => @custom_field, :form => f) %>
</div>
<div class="box">
<div class="box tabular">
<% case @custom_field.class.name
when "IssueCustomField" %>