diff --git a/app/components/document_advanced_search_component/document_advanced_search_component.html.erb b/app/components/document_advanced_search_component/document_advanced_search_component.html.erb index 0d0d2d1..a0c1f99 100644 --- a/app/components/document_advanced_search_component/document_advanced_search_component.html.erb +++ b/app/components/document_advanced_search_component/document_advanced_search_component.html.erb @@ -1,30 +1,46 @@ <%= form_tag(documents_path, method: :get) do %> -
- <%= text_field_tag :q, params[:q], placeholder: 'Full text search', class: "form-control" %> +
+ <%= text_field_tag :q, params[:q], placeholder: 'Full text search', class: "form-control mb-0" %>
-
-
+
+
- <%= text_field_tag :reference_number, params[:reference_number], class: "form-control" %> + <%= text_field_tag :reference_number, params[:reference_number], class: "form-control mb-0" %>
-
- - <%= text_field_tag :title, params[:short_title], class: "form-control" %> +
+ + <%= text_field_tag :title, params[:short_title], class: "form-control mb-0" %>
- -
- - <%= select_tag :year, options_for_select(years, params[:year]), class: "form-select", include_blank: true %> + +
+ + <%= text_field_tag :title, params[:short_title], class: "form-control mb-0" %>
- -
+ +
+ + <%= text_field_tag :title, params[:short_title], class: "form-control mb-0" %> +
+
+ +
+ + <%= select_tag :year, options_for_select(years, params[:year]), class: "form-select", include_blank: true %> +
+ +
+ <%= select_tag :year, options_for_select(years, params[:year]), class: "form-select", include_blank: true %> +
+
+
+
- <%= text_field_tag :citation_finder, params[:citation_finder], class: "form-control" %> + <%= text_field_tag :citation_finder, params[:citation_finder], class: "form-control mb-0" %>
- -
- - + +
+ +
<% end %>