<% if distro_key == 'openshift-origin' %>
<%= render("_templates/_search_origin.html") %>
<% elsif distro_key == 'openshift-dedicated' %>
<%= render("_templates/_search_dedicated.html", :version => version) %>
<% elsif distro_key == 'openshift-online' %>
<%= render("_templates/_search_online.html") %>
<% elsif distro_key == 'openshift-enterprise' %>
<%= render("_templates/_search_enterprise.html.erb", :version => version) %>
<% else %>
<%= render("_templates/_search_other.html") %>
<% end %>

<% if distro_key == 'openshift-origin' %>
<%= render("_templates/_search_origin.html") %>
<% elsif distro_key == 'openshift-dedicated' %>
<%= render("_templates/_search_dedicated.html.erb", :version => version) %>
<% elsif distro_key == 'openshift-online' %>
<%= render("_templates/_search_online.html") %>
<% elsif distro_key == 'openshift-enterprise' %>
<%= render("_templates/_search_enterprise.html.erb", :version => version) %>
<% else %>
<%= render("_templates/_search_other.html") %>
<% end %>

Correct the call to the dedicated search template
Correct the call to the dedicated search template
