Commit 0c659a63f39de27bd3ff09d6c2341251fc3a7229

Authored by Antonio Terceiro
1 parent 7358f2ce

ActionItem928: list folders with full name

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/views/cms/_upload_file_form.rhtml
... ... @@ -2,7 +2,7 @@
2 2 <%= hidden_field_tag('parent_id', @parent.id) %>
3 3 <% else %>
4 4 <h4><%= _('Choose folder to upload files:') %></h4>
5   - <%= select_tag('parent_id', options_for_select([[profile.identifier, '']] + @folders.collect {|f| [ f.name, f.id ] })) %>
  5 + <%= select_tag('parent_id', options_for_select([[profile.identifier, '']] + @folders.collect {|f| [ profile.identifier + '/' + f.full_name, f.id ] })) %>
6 6 <% end %>
7 7  
8 8 <div id='uploaded_files'>
... ...