<%= render(:partial => 'textile_quick_reference') if @article.is_a?(TextileArticle) %>

<%= _('Media upload') %>

<% form_tag({ :action => 'media_upload' }, :multipart => true) do %>
<%# TODO duplicated from partial upload_file_form %> <%= labelled_form_field(_('Choose folder to upload files:'), select_tag('parent_id', options_for_select([[profile.identifier, '']] + profile.folders.collect {|f| [ profile.identifier + '/' + f.full_name, f.id ] }))) %>

<%= file_field_tag('file1') %>

<%= file_field_tag('file2') %>

<%= file_field_tag('file3') %>

<% button_bar do %> <%= submit_button(:save, _('Upload')) %> <% end %> <% end %>