-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[feature] Candidate Postings #42
base: main
Are you sure you want to change the base?
Conversation
} | ||
} | ||
|
||
return errs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thoughts on adding a validation for both compensation fields to be present? Either both missing, or both provided.
<span class="form-error">{{ . }}</span> | ||
{{ end }} | ||
{{ end }} | ||
<input type="phone" name="phone" class="form-input mb-3" value=""> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could be good to call out that this gets displayed publicly on the view page. I suppose email as well.
|
||
func slackMessageFromRole(role data.Role, c *config.Config) SlackMessage { | ||
text := fmt.Sprintf( | ||
"A new resume was posted!\n> *<%s/roles/%s|%s @ %s>*", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"A new resume was posted!\n> *<%s/roles/%s|%s @ %s>*", | |
"A new resume was posted!\n> *<%s/roles/%s|%s (%s)>*", |
website TEXT NULL, | ||
github TEXT NULL, | ||
comp_low TEXT NULL, | ||
comp_high TEXT NULL, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
curious why comp_*
uses TEXT
rather than a numeric or money type?
Added a new set of pages and table to handle candidates posting that they're looking for work