Mercurial > hg > soundsoftware-site
view .svn/pristine/ed/ed54e17c309435857cb6c6ab5edf8effc7865259.svn-base @ 1492:54f320b40728 live
Merge
author | Chris Cannam |
---|---|
date | Mon, 17 Mar 2014 08:56:45 +0000 |
parents | cbb26bc654de |
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 %>