Mercurial > hg > soundsoftware-site
diff app/views/files/.svn/text-base/new.html.erb.svn-base @ 22:40f7cfd4df19
* Update to SVN trunk rev 4173
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Fri, 24 Sep 2010 14:06:04 +0100 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/app/views/files/.svn/text-base/new.html.erb.svn-base Fri Sep 24 14:06:04 2010 +0100 @@ -0,0 +1,16 @@ +<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 %>