Mercurial > hg > soundsoftware-site
view app/views/files/new.html.erb @ 1524:82fac3dcf466 redmine-2.5-integration
Fix failure to interpret Javascript when autocompleting members for project
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Thu, 11 Sep 2014 10:24:38 +0100 |
parents | 433d4f72a19b |
children |
line wrap: on
line source
<h2><%=l(:label_attachment_new)%></h2> <%= error_messages_for 'attachment' %> <%= form_tag(project_files_path(@project), :multipart => true, :class => "tabular") do %> <div class="box"> <% 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 %>