-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Skeletons there for new public form. WIP
- Loading branch information
1 parent
a13ed8a
commit a690d8b
Showing
7 changed files
with
91 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Empty file.
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 |
---|---|---|
@@ -0,0 +1,42 @@ | ||
export const ReportInvasivesForm = () => { | ||
const handleSubmit = () => {}; | ||
|
||
return ( | ||
<div> | ||
<h1>Report Invasive Species</h1> | ||
<form onSubmit={handleSubmit}> | ||
<div> | ||
<label htmlFor="email">Email:</label> | ||
<input type="email" id="email" name="email" required /> | ||
</div> | ||
<div> | ||
<label htmlFor="telephone">Telephone:</label> | ||
<input type="tel" id="telephone" name="telephone" required /> | ||
</div> | ||
<div> | ||
<label htmlFor="personObserving">Person Observing:</label> | ||
<input type="text" id="personObserving" name="personObserving" required /> | ||
</div> | ||
<div> | ||
<label htmlFor="date_observed">Date Observed:</label> | ||
<input type="date" id="date_observed" name="date_observed" required /> | ||
</div> | ||
<div> | ||
<label htmlFor="suspected_species">Suspected Species:</label> | ||
<input type="text" id="suspected_species" name="suspected_species" required /> | ||
</div> | ||
<div> | ||
<label htmlFor="location">Location:</label> | ||
<input type="text" id="location" name="location" required /> | ||
</div> | ||
<div> | ||
<label htmlFor="area_of_infestation_comments">Area of Infestation Comments:</label> | ||
<textarea id="area_of_infestation_comments" name="area_of_infestation_comments" required></textarea> | ||
</div> | ||
<div> | ||
<button type="submit">Submit Report</button> | ||
</div> | ||
</form> | ||
</div> | ||
); | ||
}; |
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
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
export const PublicReportInvasive = { | ||
type: 'object', | ||
email: { type: 'string' }, | ||
telephone: { type: 'string' }, | ||
personObserving: { type: 'string' }, | ||
date_observed: { type: 'string' }, | ||
suspected_species: { type: 'string' }, | ||
location: { type: 'string' }, | ||
area_of_infestation_comments: { type: 'string' }, | ||
} |
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