Skip to content

Commit

Permalink
Only collapse detailed search for non-authenticated users.
Browse files Browse the repository at this point in the history
  • Loading branch information
pschijven committed Nov 3, 2023
1 parent 5b0948a commit 59f34c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/search_results/_form.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</button>
</div>
</div>
<div id="detailedSearch" class="collapse">
<div id="detailedSearch" class="collapse <%= current_user ? 'show' : ''%>">
<%= render 'detailed_search' %>
</div>
<% end %>

0 comments on commit 59f34c1

Please sign in to comment.