summaryrefslogtreecommitdiffstats
path: root/app/views/versions
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2011-12-09 18:15:55 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2011-12-09 18:15:55 +0000
commit9636882c1e890c7d6dda6b974b9765bebe3f880a (patch)
tree626d15eb8cb6f7cb17fc514abb5ad97293d95efe /app/views/versions
parent312ffe43c7efa910d3aa987826e4b8b5f358139e (diff)
downloadredmine-9636882c1e890c7d6dda6b974b9765bebe3f880a.tar.gz
redmine-9636882c1e890c7d6dda6b974b9765bebe3f880a.zip
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
Diffstat (limited to 'app/views/versions')
-rw-r--r--app/views/versions/_form.html.erb2
-rw-r--r--app/views/versions/edit.html.erb2
-rw-r--r--app/views/versions/new.html.erb2
3 files changed, 3 insertions, 3 deletions
diff --git a/app/views/versions/_form.html.erb b/app/views/versions/_form.html.erb
index 7e95dca0e..db84f07eb 100644
--- a/app/views/versions/_form.html.erb
+++ b/app/views/versions/_form.html.erb
@@ -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>
diff --git a/app/views/versions/edit.html.erb b/app/views/versions/edit.html.erb
index 47d80ac42..6c8f5a579 100644
--- a/app/views/versions/edit.html.erb
+++ b/app/views/versions/edit.html.erb
@@ -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 %>
diff --git a/app/views/versions/new.html.erb b/app/views/versions/new.html.erb
index e141a112b..2a51957a1 100644
--- a/app/views/versions/new.html.erb
+++ b/app/views/versions/new.html.erb
@@ -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 %>