make search on 404 page secure

This commit is contained in:
Shiv Kumar 2014-01-26 14:48:12 -08:00
parent c930fe41b2
commit 2b837827ae

View File

@ -25,7 +25,7 @@
<div class="span10" style='padding-top: 20px'>
<h2><%= t 'page_not_found.search_title' %></h2>
<p>
<form action='http://google.com' id='google-search' onsubmit="return google_button_clicked()">
<form action='https://google.com' id='google-search' onsubmit="return google_button_clicked()">
<input type="text" id='user-query' value="<%= @slug %>">
<input type='hidden' id='google-query' name="q">
<button class="btn btn-primary"><%= t 'page_not_found.search_google' %></button>