Mercurial > hg > soundsoftware-site
annotate app/views/files/.svn/text-base/new.html.erb.svn-base @ 904:0a8317a50fa0 redmine-1.1
Close obsolete branch redmine-1.1
author | Chris Cannam |
---|---|
date | Fri, 14 Jan 2011 12:53:21 +0000 |
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 %> |