diff app/views/versions/_new_modal.html.erb @ 1115:433d4f72a19b redmine-2.2

Update to Redmine SVN revision 11137 on 2.2-stable branch
author Chris Cannam
date Mon, 07 Jan 2013 12:01:42 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/app/views/versions/_new_modal.html.erb	Mon Jan 07 12:01:42 2013 +0000
@@ -0,0 +1,9 @@
+<h3 class="title"><%=l(:label_version_new)%></h3>
+
+<%= labelled_form_for @version, :url => project_versions_path(@project), :remote => true do |f| %>
+<%= render :partial => 'versions/form', :locals => { :f => f } %>
+  <p class="buttons">
+    <%= submit_tag l(:button_create), :name => nil %>
+    <%= submit_tag l(:button_cancel), :name => nil, :onclick => "hideModal(this);", :type => 'button' %>
+  </p>
+<% end %>