Commit 0c659a63f39de27bd3ff09d6c2341251fc3a7229
1 parent
7358f2ce
Exists in
master
and in
29 other branches
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,7 +2,7 @@ | ||
2 | <%= hidden_field_tag('parent_id', @parent.id) %> | 2 | <%= hidden_field_tag('parent_id', @parent.id) %> |
3 | <% else %> | 3 | <% else %> |
4 | <h4><%= _('Choose folder to upload files:') %></h4> | 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 | <% end %> | 6 | <% end %> |
7 | 7 | ||
8 | <div id='uploaded_files'> | 8 | <div id='uploaded_files'> |