Mercurial > hg > soundsoftware-site
annotate app/views/files/.svn/text-base/new.html.erb.svn-base @ 507:0c939c159af4 redmine-1.2
Update to Redmine 1.2.1 on 1.2-stable branch (Redmine SVN rev 6270)
author | Chris Cannam |
---|---|
date | Thu, 14 Jul 2011 10:32:19 +0100 |
parents | 40f7cfd4df19 |
children |
rev | line source |
---|---|
chris@22 | 1 <h2><%=l(:label_attachment_new)%></h2> |
chris@22 | 2 |
chris@22 | 3 <%= error_messages_for 'attachment' %> |
chris@22 | 4 <div class="box"> |
chris@22 | 5 <% form_tag(project_files_path(@project), :multipart => true, :class => "tabular") do %> |
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@22 | 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@22 | 16 <% end %> |