-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable zipcode field. Disable other fields until their logic is added to server.js. Issue #7
- Loading branch information
1 parent
6da9777
commit 77d0731
Showing
1 changed file
with
33 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,36 @@ | ||
<form action="/search" method="POST"> | ||
<label for="zipcode">Zipcode</label> | ||
<input type="text" name="zipcode" placeholder="zipcode"> | ||
<input type="text" name="borough" placeholder="borough"> | ||
<!-- <label for="borough">Borough</label> | ||
<select id="borough" name="borough"> | ||
<option value="" disabled selected>None</option> | ||
<option value="Bronx">Bronx</option> | ||
<option value="Brooklyn">Brooklyn</option> | ||
<option value="Manhattan">Manhattan</option> | ||
<option value="Queens">Queens</option> | ||
<option value="Staten Island">Staten Island</option> | ||
</select> --> | ||
<fieldset> | ||
<label for="name">Business Name</label> | ||
<input disabled type="text" name="street" placeholder="Business name"> | ||
</fieldset> | ||
|
||
<fieldset> | ||
<label for="zipcode">Zipcode</label> | ||
<input type="text" name="zipcode" placeholder="zipcode"> | ||
|
||
<label for="street">Street</label> | ||
<input disabled type="text" name="street" placeholder="street address"> | ||
|
||
<label for="city">City</label> | ||
<input disabled type="text" name="city" placeholder="city"> | ||
|
||
<label for="borough">Borough</label> | ||
<select disabled id="borough" name="borough"> | ||
<option value="" disabled selected>None</option> | ||
<option value="Bronx">Bronx</option> | ||
<option value="Brooklyn">Brooklyn</option> | ||
<option value="Manhattan">Manhattan</option> | ||
<option value="Queens">Queens</option> | ||
<option value="Staten Island">Staten Island</option> | ||
</select> | ||
</fieldset> | ||
|
||
<fieldset> | ||
<label for="startDate">Start:</label> | ||
<input disabled type="date" name="startDate"> | ||
<label for="endDate">End:</label> | ||
<input disabled type="date" name="endDate"> | ||
</fieldset> | ||
|
||
<input type="submit" value="Search"> | ||
</form> |