bigdir/app/views/documents/new.html.erb

7 lines
265 B
Plaintext

<h3><%=l(:label_document_new)%></h3>
<%= labelled_form_for @document, :url => project_documents_path(@project), :html => {:multipart => true} do |f| %>
<%= render :partial => 'form', :locals => {:f => f} %>
<p><%= submit_tag l(:button_create) %></p>
<% end %>