<%= yield %>
diff --git a/app/javascript/src/application/table.scss b/app/javascript/src/application/table.scss new file mode 100644 index 0000000..140840b --- /dev/null +++ b/app/javascript/src/application/table.scss @@ -0,0 +1,8 @@ + +.table > :not(:first-child) { + border-top: none !important; +} + +thead tr { + border-bottom: 2px solid #782525 +} diff --git a/app/views/documents/index.html.erb b/app/views/documents/index.html.erb index 18ba62a..962f839 100644 --- a/app/views/documents/index.html.erb +++ b/app/views/documents/index.html.erb @@ -1,23 +1,22 @@ -
| Reference No. | -Title | -Date | - + + + <% end %> + + +<% if @search_params.present? %> +
|---|
| Reference No. | +Title | +Date | + - - <%= render(DocumentIndexTableComponent.with_collection(@jurisprudences, current_user: current_user, opts: {})) %> - -
|---|