Commit 622183ea58d699504e547c77a4373da4461c1421
1 parent
4a7e9657
Exists in
master
and in
29 other branches
ActionItem970: small enhancements to upload screen
* starts with three file upload fields intead of one * changed the wording in the description of the field
Showing
1 changed file
with
4 additions
and
2 deletions
Show diff stats
app/views/cms/upload_files.rhtml
... | ... | @@ -16,12 +16,14 @@ |
16 | 16 | <h2><%= _('Publish media') %></h2> |
17 | 17 | |
18 | 18 | <h3><%= _("Select the files you want to upload (max size %s):") % UploadedFile.max_size.to_humanreadable %></h3> |
19 | -<h4><%= _('Photos/Videos/Audio/Documents') %></h4> | |
19 | +<h4><%= _('Documents, Images, Videos, Audio') %></h4> | |
20 | 20 | |
21 | 21 | <% form_for('uploaded_file', :url => { :action => 'upload_files' }, :html => {:multipart => true}) do |f| %> |
22 | 22 | |
23 | 23 | <div id='uploaded_files'> |
24 | - <%= render :partial => 'upload_file' %> | |
24 | + <% 3.times do %> | |
25 | + <%= render :partial => 'upload_file' %> | |
26 | + <% end %> | |
25 | 27 | </div> |
26 | 28 | |
27 | 29 | <%= hidden_field_tag('parent_id', @parent.id) if @parent %> | ... | ... |