1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-03-13 20:53:07 +00:00
redmine/scm/app/views/projects/add_file.rhtml
Jean-Philippe Lang fa820c0224 SCM branch
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@101 e93f8b46-1217-0410-a6f0-8f06a7374b81
2006-12-18 17:24:21 +00:00

14 lines
608 B
Plaintext

<h2><%=l(:label_attachment_new)%></h2>
<%= error_messages_for 'attachment' %>
<div class="box">
<%= start_form_tag ({ :action => 'add_file', :id => @project }, :multipart => true, :class => "tabular") %>
<p><label for="version_id"><%=l(:field_version)%> <span class="required">*</span></label>
<%= select_tag "version_id", options_from_collection_for_select(@versions, "id", "name") %></p>
<p><label for="attachment_file"><%=l(:label_attachment)%> <span class="required">*</span></label>
<%= file_field 'attachment', 'file' %></p>
</div>
<%= submit_tag l(:button_add) %>
<%= end_form_tag %>