editing success message
This commit is contained in:
@@ -58,7 +58,7 @@ func HandleSignup(w http.ResponseWriter, r *http.Request) {
|
|||||||
// Respond with success
|
// Respond with success
|
||||||
w.Header().Set("Content-Type", "application/json")
|
w.Header().Set("Content-Type", "application/json")
|
||||||
json.NewEncoder(w).Encode(SignupResponse{
|
json.NewEncoder(w).Encode(SignupResponse{
|
||||||
Message: fmt.Sprintf("Signup received for %s", email),
|
Message: fmt.Sprintf("Signup received for %s. We will email you when we launch!", email),
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -76,7 +76,7 @@
|
|||||||
<form id="signup-form">
|
<form id="signup-form">
|
||||||
<input name="email" id="email" placeholder="email" required style="margin-bottom: 15px;">
|
<input name="email" id="email" placeholder="email" required style="margin-bottom: 15px;">
|
||||||
<br>
|
<br>
|
||||||
<p id="applicant-message" style="color: green; font-size: 1em; margin: 0.5em 0;"></p>
|
<p id="applicant-message" style="color: green; font-size: 1em; margin: 0.5em 0; margin-bottom: 1em"></p>
|
||||||
<button type="submit" style="background-color: rgb(193, 135, 29)">Sign Up</button>
|
<button type="submit" style="background-color: rgb(193, 135, 29)">Sign Up</button>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user