%= form_for @tailoring_file,
:url => (@tailoring_file.id? ?
tailoring_file_path(:id => @tailoring_file.id) : tailoring_files_path),
:html => { :multipart => true } do |f| %>
<%= base_errors_for @tailoring_file %>
<%= text_f(f, :name) %>
<%= file_field_f f, :scap_file, :file_name => @tailoring_file.original_filename, :label_help => _("DataStream Tailoring file") %>
<%= render 'taxonomies/loc_org_tabs', :f => f, :obj => @tailoring_file %>
<%= submit_or_cancel f %>
<% end %>