Mercurial > hg > soundsoftware-site
annotate app/views/files/new.html.erb @ 1519:afce8026aaeb redmine-2.4-integration
Merge from branch "live"
author | Chris Cannam |
---|---|
date | Tue, 09 Sep 2014 09:34:53 +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 %> |