diff options
Diffstat (limited to 'app/views/versions/_new_modal.html.erb')
-rw-r--r-- | app/views/versions/_new_modal.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/versions/_new_modal.html.erb b/app/views/versions/_new_modal.html.erb index 8b58883c8..cd51fdc93 100644 --- a/app/views/versions/_new_modal.html.erb +++ b/app/views/versions/_new_modal.html.erb @@ -1,6 +1,6 @@ <h3 class="title"><%=l(:label_version_new)%></h3> -<% labelled_remote_form_for @version, :url => project_versions_path(@project) do |f| %> +<%= labelled_remote_form_for :version, @version, :url => project_versions_path(@project) do |f| %> <%= render :partial => 'versions/form', :locals => { :f => f } %> <p class="buttons"> <%= submit_tag l(:button_create), :name => nil %> |