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:
1 parent
312ffe43c7
commit
9636882c1e
23 files changed
+31
-30
No files matched your search
@@ -1,7 +1,7 @@
|
||||
<%= back_url_hidden_field_tag %>
|
||||
<%= error_messages_for 'version' %>
|
||||
|
||||
<div class="box">
|
||||
<div class="box tabular">
|
||||
<p><%= f.text_field :name, :size => 60, :required => true %></p>
|
||||
<p><%= f.text_field :description, :size => 60 %></p>
|
||||
<p><%= f.select :status, Version::VERSION_STATUSES.collect {|s| [l("version_status_#{s}"), s]} %></p>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<h2><%=l(:label_version)%></h2>
|
||||
|
||||
<% labelled_tabular_form_for @version do |f| %>
|
||||
<% labelled_form_for @version do |f| %>
|
||||
<%= render :partial => 'form', :locals => { :f => f } %>
|
||||
<%= submit_tag l(:button_save) %>
|
||||
<% end %>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<h2><%=l(:label_version_new)%></h2>
|
||||
|
||||
<% labelled_tabular_form_for @version, :url => project_versions_path(@project) do |f| %>
|
||||
<% labelled_form_for @version, :url => project_versions_path(@project) do |f| %>
|
||||
<%= render :partial => 'versions/form', :locals => { :f => f } %>
|
||||
<%= submit_tag l(:button_create) %>
|
||||
<% end %>
|
||||
Reference in new issue
Block a user