Skip to content

Commit fcc9116

Browse files
authored
Merge pull request #260 from MITLibraries/use-157
Show correct search form in GeoData full records
2 parents cf5624d + c1a1634 commit fcc9116

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

app/views/record/view.html.erb

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,13 @@
77
<%= render(partial: 'shared/error', collection: @errors) %>
88

99
<%= render(partial: 'shared/site_title') %>
10-
<%= render(partial: 'search/form')%>
10+
11+
<% if Feature.enabled?(:geodata) %>
12+
<%= render(partial: 'search/form_geo')%>
13+
<% else %>
14+
<%= render(partial: 'search/form') %>
15+
<% end %>
16+
1117
<%= render(partial: 'back_button') %>
1218

1319
<% if @record.nil? %>

0 commit comments

Comments
 (0)