##// END OF EJS Templates
Fixes HTML....
Jean-Philippe Lang -
r8835:77aab5c468f3
parent child
Show More
@@ -1,16 +1,16
1 <h2><%=l(:label_attachment_new)%></h2>
1 <h2><%=l(:label_attachment_new)%></h2>
2
2
3 <%= error_messages_for 'attachment' %>
3 <%= error_messages_for 'attachment' %>
4 <div class="box">
5 <% form_tag(project_files_path(@project), :multipart => true, :class => "tabular") do %>
4 <% form_tag(project_files_path(@project), :multipart => true, :class => "tabular") do %>
5 <div class="box">
6
6
7 <% if @versions.any? %>
7 <% if @versions.any? %>
8 <p><label for="version_id"><%=l(:field_version)%></label>
8 <p><label for="version_id"><%=l(:field_version)%></label>
9 <%= select_tag "version_id", content_tag('option', '') +
9 <%= select_tag "version_id", content_tag('option', '') +
10 options_from_collection_for_select(@versions, "id", "name") %></p>
10 options_from_collection_for_select(@versions, "id", "name") %></p>
11 <% end %>
11 <% end %>
12
12
13 <p><label><%=l(:label_attachment_plural)%></label><%= render :partial => 'attachments/form' %></p>
13 <p><label><%=l(:label_attachment_plural)%></label><%= render :partial => 'attachments/form' %></p>
14 </div>
14 </div>
15 <%= submit_tag l(:button_add) %>
15 <%= submit_tag l(:button_add) %>
16 <% end %>
16 <% end %>
General Comments 0
You need to be logged in to leave comments. Login now