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 committed 2011-12-09 18:15:55 +00:00
1 parent 312ffe43c7
commit 9636882c1e
23 files changed
+31 -30

No files matched your search

+2 -2
View File
@@ -1,9 +1,9 @@
<h2><%=l(:label_project_new)%></h2>
<% labelled_tabular_form_for @project, :url => { :action => "copy" } do |f| %>
<% labelled_form_for @project, :url => { :action => "copy" } do |f| %>
<%= render :partial => 'form', :locals => { :f => f } %>
<fieldset class="box"><legend><%= l(:button_copy) %></legend>
<fieldset class="box tabular"><legend><%= l(:button_copy) %></legend>
<label class="block"><%= check_box_tag 'only[]', 'members', true %> <%= l(:label_member_plural) %> (<%= @source_project.members.count %>)</label>
<label class="block"><%= check_box_tag 'only[]', 'versions', true %> <%= l(:label_version_plural) %> (<%= @source_project.versions.count %>)</label>
<label class="block"><%= check_box_tag 'only[]', 'issue_categories', true %> <%= l(:label_issue_category_plural) %> (<%= @source_project.issue_categories.count %>)</label>