File tree Expand file tree Collapse file tree 3 files changed +9
-7
lines changed
Expand file tree Collapse file tree 3 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ export default class CvsController {
1616
1717 const firstName = request . input ( 'first_name' )
1818 const lastName = request . input ( 'last_name' )
19- const birthday = request . input ( 'birthday ' )
19+ const birthdate = request . input ( 'birthdate ' )
2020 const city = request . input ( 'city' )
2121 const phone = request . input ( 'phone' )
2222 const email = request . input ( 'email' )
@@ -76,7 +76,7 @@ export default class CvsController {
7676 const html = await view . render ( `pages/templates/cv_template_1` , {
7777 firstName : firstName ,
7878 lastName : lastName ,
79- birthday : birthday ,
79+ birthdate : birthdate ,
8080 city : city ,
8181 phone : phone ,
8282 profilePicture : photoBase64 ? `data:${ contentType } ;base64,${ photoBase64 } ` : null ,
Original file line number Diff line number Diff line change 7373 </div >
7474
7575 <div >
76- <label for =" birthday " class =" block text-sm font-medium text-white mb-1" >Geboortedatum</label >
77- <input type =" date" id =" birthday " name =" birthday " class =" w-full bg-purple-800 text-white placeholder-gray-300 border border-purple-700 rounded-md p-2 focus:ring-2 focus:ring-purple-900 focus:outline-none" required >
76+ <label for =" birthdate " class =" block text-sm font-medium text-white mb-1" >Geboortedatum</label >
77+ <input type =" date" id =" birthdate " name =" birthdate " class =" w-full bg-purple-800 text-white placeholder-gray-300 border border-purple-700 rounded-md p-2 focus:ring-2 focus:ring-purple-900 focus:outline-none" required >
7878 </div >
7979
8080 <div >
106106
107107 <div class =" md:col-span-2" >
108108 <label for =" job_title" class =" block text-sm font-medium text-white mb-1" >Werk titel</label >
109- <input type =" text" id =" job_title" name =" job_title" class =" w-full bg-purple-800 text-white placeholder-gray-300 border border-purple-700 rounded-md p-2 focus:ring-2 focus:ring-purple-900 focus:outline-none" >
109+ <input type =" text" id =" job_title" name =" job_title" class =" w-full bg-purple-800 text-white placeholder-gray-300 border border-purple-700 rounded-md p-2 focus:ring-2 focus:ring-purple-900 focus:outline-none" required >
110110 </div >
111111
112112 <div class =" md:col-span-2" >
113113 <label for =" job_title" class =" block text-sm font-medium text-white mb-1" >Je beschrijving</label >
114- <textarea id =" profile" name =" profile" rows =" 5" placeholder =" Schrijf een korte alinia over jezelf" class =" w-full bg-purple-800 text-white placeholder-gray-300 border border-purple-700 rounded-md p-2 focus:ring-2 focus:ring-purple-900 focus:outline-none resize-none" ></textarea >
114+ <textarea id =" profile" name =" profile" rows =" 5" placeholder =" Schrijf een korte alinia over jezelf" class =" w-full bg-purple-800 text-white placeholder-gray-300 border border-purple-700 rounded-md p-2 focus:ring-2 focus:ring-purple-900 focus:outline-none resize-none" required ></textarea >
115115
116116 </div >
117117 </div >
Original file line number Diff line number Diff line change 2020 <img src =" {{ profilePicture }}" alt =" Profile Picture" class =" rounded-full w-36 h-36 object-cover" />
2121 @endif
2222
23- <p >{{ birthday }}</p >
23+ @if (birthdate )
24+ <p >{{ birthdate }}</p >
25+ @endif
2426
2527 <p class =" text-purple-700 font-semibold text-1xl" >{{ jobTitle }}</p >
2628 <div class =" text-gray-600 space-y-1" >
You can’t perform that action at this time.
0 commit comments