Commit 3b1e0d78 authored by Raghav Khanna's avatar Raghav Khanna

Make query field compulsory for submission

parent f9aba0f9
Pipeline #113386 passed with stages
in 4 minutes and 3 seconds
......@@ -20,7 +20,7 @@ public class IndexPage implements Page {
"<h1>Welcome!!</h1>" +
"<p>Enter your query in the box below: " +
"<form>" +
"<input type=\"text\" name=\"q\" />" +
"<input required type=\"text\" name=\"q\" />" +
"<br><br><input type=\"submit\">" +
"</form>" +
"</p>");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment