Skip to content

Commit

Permalink
missed upload - constants
Browse files Browse the repository at this point in the history
  • Loading branch information
Jbanks123 authored Feb 8, 2024
1 parent a71a9f4 commit f78b649
Showing 1 changed file with 67 additions and 0 deletions.
67 changes: 67 additions & 0 deletions constants/formFields.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
const loginFields=[
{
labelText:"Email address",
labelFor:"email-address",
id:"email-address",
name:"email",
type:"email",
autoComplete:"email",
isRequired:true,
placeholder:"Email address"
},
{
labelText:"Password",
labelFor:"password",
id:"password",
name:"password",
type:"password",
autoComplete:"current-password",
isRequired:true,
placeholder:"Password"
}
]

const signupFields=[
{
labelText:"Username",
labelFor:"username",
id:"username",
name:"username",
type:"text",
autoComplete:"username",
isRequired:true,
placeholder:"Username"
},
{
labelText:"Email address",
labelFor:"email-address",
id:"email-address",
name:"email",
type:"email",
autoComplete:"email",
isRequired:true,
placeholder:"Email address"
},
{
labelText:"Password",
labelFor:"password",
id:"password",
name:"password",
type:"password",
autoComplete:"current-password",
isRequired:true,
placeholder:"Password"
},
{
labelText:"Confirm Password",
labelFor:"confirm-password",
id:"confirm-password",
name:"confirm-password",
type:"password",
autoComplete:"confirm-password",
isRequired:true,
placeholder:"Confirm Password"
}
]

export {loginFields,signupFields}

0 comments on commit f78b649

Please sign in to comment.