% content_for :title, t(".import_ads") %>
<%= render "shared/aircraft_header", aircraft: @aircraft %>
<%= form_with url: aircraft_ad_import_path(@aircraft), multipart: true, class: "card card-body space-y-4 lg:col-span-2" do |f| %>
<%= t(".import_ads_from_the_faa") %>
<%= f.label :file, t(".drs_export_csv_or_xlsx"), class: "label" %>
<%= f.file_field :file, accept: ".xlsx,.csv", required: true,
class: "block text-sm text-slate-600 file:mr-3 file:rounded-md file:border-0 file:bg-slate-100 file:px-3 file:py-1.5 file:text-sm file:font-medium hover:file:bg-slate-200" %>
<%= f.submit t(".upload_preview"), class: "btn-primary" %>
<%= t(".nothing_is_saved_until_you") %>
<% end %>
<%= t(".getting_the_file") %>
- <%= t(".on_drs_faa_gov_search_html") %>
- <%= t(".save_the_results_as_excel_html") %>
- <%= t(".upload_it_here") %>
<%= t(".ads_already_tracked_are_matched") %>