socialforge/app/views/versions/_new_modal.html.erb

10 lines
414 B
Plaintext
Raw Normal View History

2013-08-01 10:33:49 +08:00
<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 %>