Mercurial > hg > soundsoftware-site
view 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 |
line wrap: on
line source
<h2><%=l(:label_attachment_new)%></h2> <%= error_messages_for 'attachment' %> <div class="box"> <% form_tag(project_files_path(@project), :multipart => true, :class => "tabular") do %> <% if @versions.any? %> <p><label for="version_id"><%=l(:field_version)%></label> <%= select_tag "version_id", content_tag('option', '') + options_from_collection_for_select(@versions, "id", "name") %></p> <% end %> <p><label><%=l(:label_attachment_plural)%></label><%= render :partial => 'attachments/form' %></p> </div> <%= submit_tag l(:button_add) %> <% end %>