Mercurial > hg > soundsoftware-site
annotate app/views/files/new.html.erb @ 1298:4f746d8966dd redmine_2.3_integration
Merge from redmine-2.3 branch to create new branch redmine-2.3-integration
author | Chris Cannam |
---|---|
date | Fri, 14 Jun 2013 09:28:30 +0100 |
parents | 433d4f72a19b |
children |
rev | line source |
---|---|
chris@22 | 1 <h2><%=l(:label_attachment_new)%></h2> |
chris@22 | 2 |
chris@22 | 3 <%= error_messages_for 'attachment' %> |
Chris@1115 | 4 <%= form_tag(project_files_path(@project), :multipart => true, :class => "tabular") do %> |
chris@22 | 5 <div class="box"> |
chris@22 | 6 |
chris@22 | 7 <% if @versions.any? %> |
chris@22 | 8 <p><label for="version_id"><%=l(:field_version)%></label> |
chris@22 | 9 <%= select_tag "version_id", content_tag('option', '') + |
Chris@909 | 10 options_from_collection_for_select(@versions, "id", "name") %></p> |
chris@22 | 11 <% end %> |
chris@22 | 12 |
chris@22 | 13 <p><label><%=l(:label_attachment_plural)%></label><%= render :partial => 'attachments/form' %></p> |
chris@22 | 14 </div> |
chris@22 | 15 <%= submit_tag l(:button_add) %> |
Chris@909 | 16 <% end %> |