From 65affdf6399f2d7fbe4f754607b0f69e92d334d6 Mon Sep 17 00:00:00 2001 From: Andrej Date: Thu, 21 Sep 2023 10:53:11 +0200 Subject: [PATCH] Fix css for importing inventory [SCI-9162] --- .../_parse_records_modal.html.erb | 25 ++++++++++--------- 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/app/views/repositories/_parse_records_modal.html.erb b/app/views/repositories/_parse_records_modal.html.erb index a2144e769..8834096cc 100644 --- a/app/views/repositories/_parse_records_modal.html.erb +++ b/app/views/repositories/_parse_records_modal.html.erb @@ -27,20 +27,21 @@ options_from_collection_for_select(@import_data.available_fields, :first, :last), - include_blank: t('repositories.parse_sheet.do_not_include_column'), - hide_label: true) %> -
- <% if th.nil? %> - <%= t('repositories.import_records.no_header_name') %> - <% else %> - <% if th.length > Constants::NAME_TRUNCATION_LENGTH_DROPDOWN %> - + { include_blank: t('repositories.parse_sheet.do_not_include_column'), hide_label: true }, + { class:'form-control' }) %> +
+ <% if th.nil? %> + <%= t('repositories.import_records.no_header_name') %> <% else %> - <%= th %> + <% if th.length > Constants::NAME_TRUNCATION_LENGTH_DROPDOWN %> + + <% else %> + <%= th %> + <% end %> <% end %> - <% end %> +
<% end %>