mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-29 11:49:37 +00:00
Extend import controller to support arbitrary imports based on Import subclasses. This way, we may add other kinds of imports, by providing some views and a custom import class. This may also be done from within plugins. Patch by Gregor Schmidt. git-svn-id: http://svn.redmine.org/redmine/trunk@18145 e93f8b46-1217-0410-a6f0-8f06a7374b81
15 lines
447 B
Plaintext
15 lines
447 B
Plaintext
<h2><%= import_title %></h2>
|
|
|
|
<%= form_tag(imports_path, :multipart => true) do %>
|
|
<%= hidden_field_tag 'type', @import.type %>
|
|
<fieldset class="box">
|
|
<legend><%= l(:label_select_file_to_import) %> (CSV)</legend>
|
|
<p>
|
|
<%= file_field_tag 'file' %>
|
|
</p>
|
|
</fieldset>
|
|
<p><%= submit_tag l(:label_next).html_safe + " »".html_safe, :name => nil %></p>
|
|
<% end %>
|
|
|
|
<%= render :partial => "#{import_partial_prefix}_sidebar" %>
|