summaryrefslogtreecommitdiffstats
path: root/app/views/versions
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2010-03-06 18:25:01 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2010-03-06 18:25:01 +0000
commit729bea1cf38ed80bc34c47a8ef3783d9e06ce5c5 (patch)
tree641eec746b7102036dc717e62481a3de596133d6 /app/views/versions
parent2af97616f760f1ba1bfda96cc91d51e2f3ac0b43 (diff)
downloadredmine-729bea1cf38ed80bc34c47a8ef3783d9e06ce5c5.tar.gz
redmine-729bea1cf38ed80bc34c47a8ef3783d9e06ce5c5.zip
Moves ProjectsController#add_version to VersionsController#new.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3548 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/versions')
-rw-r--r--app/views/versions/new.html.erb6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/views/versions/new.html.erb b/app/views/versions/new.html.erb
new file mode 100644
index 000000000..a7ef03e76
--- /dev/null
+++ b/app/views/versions/new.html.erb
@@ -0,0 +1,6 @@
+<h2><%=l(:label_version_new)%></h2>
+
+<% labelled_tabular_form_for :version, @version, :url => { :action => 'new' } do |f| %>
+<%= render :partial => 'versions/form', :locals => { :f => f } %>
+<%= submit_tag l(:button_create) %>
+<% end %> \ No newline at end of file