Closed nswalters closed 3 years ago
Add constraints on the Application
model so that a user cannot apply to the same job multiple times.
Right now, because we are not adding any additional data to an application upon creation, we could end up with a button on each job which only shows if there is no application for it already. That button then just submits the basic request which triggers the initial application.
Currently, I have the 'Application Status' showing as 'No Application' if there is no application for the specific job:
Instead, this should be a button which prompts the user to apply for the job.
As a user, I would like to be able to create an Application record so that I can track my application for a job
Given a user is in the app When they select the
Apply
option on a Job Then they should be directed to a form for creating a new Application recordGiven The user has entered the relevant information for the Application When they click the
Save
button Then the Application should be saved to the database And the user should be redirected to the Application Details viewThe relevant information for a Application is: