File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ module.exports = {
1212 payload : Joi . object ( {
1313 firstName : Joi . string ( ) . min ( 2 ) . required ( ) ,
1414 lastName : Joi . string ( ) . min ( 2 ) . required ( ) ,
15+ email : Joi . string ( ) . email ( ) ,
1516 description : Joi . string ( ) . empty ( '' ) . max ( 255 ) ,
1617 roles : Joi . array ( ) . items ( Joi . string ( ) . valid ( validRoles ) ) . single ( ) . min ( 1 )
1718 . required ( ) ,
Original file line number Diff line number Diff line change 4242 <label class =" mdl-textfield__label" for =" lastNameInput" >Last Name</label >
4343 </div >
4444
45- {{ #unless editMode }}
46- <div class =" mdl-cell mdl-cell--12-col mdl-textfield mdl-js-textfield mdl-textfield--floating-label" >
47- <input class =" mdl-textfield__input" type =" email" id =" emailInput" name =" email"
48- value =" {{ userData.email }} " required onfocus =" autoFillEmail(this)" >
49- <label class =" mdl-textfield__label" for =" emailInput" >Email</label >
50- </div >
51- {{ /unless }}
45+ <div class =" mdl-cell mdl-cell--12-col mdl-textfield mdl-js-textfield mdl-textfield--floating-label" >
46+ <input class =" mdl-textfield__input" type =" email" id =" emailInput" name =" email"
47+ value =" {{ userData.email }} " required onfocus =" autoFillEmail(this)" >
48+ <label class =" mdl-textfield__label" for =" emailInput" >Email</label >
49+ </div >
5250
5351 {{ #unless editMode }}
5452 <div class =" mdl-cell mdl-cell--6-col mdl-cell--8-col-tablet mdl-textfield mdl-js-textfield mdl-textfield--floating-label" >
You can’t perform that action at this time.
0 commit comments