Mercurial > hg > soundsoftware-site
view app/views/projects/add_file.rhtml @ 21:d0cd1f6335a5 cannam
* Create branch "cannam"
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Thu, 23 Sep 2010 16:19:06 +0100 |
parents | 513646585e45 |
children |
line wrap: on
line source
<h2><%=l(:label_attachment_new)%></h2> <%= error_messages_for 'attachment' %> <div class="box"> <% form_tag({ :action => 'add_file', :id => @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 %>