fix/fixed input fields on login/signup not being required
This commit is contained in:
1 parent
ce9345fad9
commit
5bc26e334e
3 files changed
+9
-9
No files matched your search
+2
-2
@@ -10,13 +10,13 @@
|
||||
<p class="text-sm text-gray-400 text-left mb-4"><span class="text-red-500">*</span> Indicates a required field</p>
|
||||
<div class="mt-4">
|
||||
<label for="email" class="block text-base mb-2 text-slate-600">Email <span class="text-red-500">*</span></label>
|
||||
<input type="text" id="email" name="email"
|
||||
<input required type="text" id="email" name="email"
|
||||
class="border border-slate-300 focus:border-indigo-500 w-full rounded-md text-base px-3 py-2 focus:outline-none focus:ring-1 focus:ring-indigo-500 transition-colors duration-200"
|
||||
placeholder="Enter Email" value="<%= typeof email != 'undefined' ? email : '' %>"/>
|
||||
</div>
|
||||
<div class="mt-4">
|
||||
<label for="password" class="block text-base mb-2 text-slate-600">Password <span class="text-red-500">*</span></label>
|
||||
<input type="password" id="password" name="password"
|
||||
<input required type="password" id="password" name="password"
|
||||
class="border border-slate-300 focus:border-indigo-500 w-full rounded-md text-base px-3 py-2 focus:outline-none focus:ring-1 focus:ring-indigo-500 transition-colors duration-200"
|
||||
placeholder="Enter Password" />
|
||||
</div>
|
||||
|
||||
+3
-3
@@ -42,15 +42,15 @@
|
||||
</div>
|
||||
<div>
|
||||
<label for="retirementExpenses" class="block text-sm font-medium text-gray-700 text-left">Estimated Monthly Retirement Expenses <span class="text-red-500">*</span></label>
|
||||
<input type="number" name="retirementExpenses" id="retirementExpenses" min="0" placeholder="e.g., 3000" class="mt-1 block w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm" required>
|
||||
<input title="Ongoing spending. Rent, bills, subscriptions, etc." type="number" name="retirementExpenses" id="retirementExpenses" min="0" placeholder="e.g., 3000" class="mt-1 block w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm" required>
|
||||
</div>
|
||||
<div>
|
||||
<label for="retirementAssets" class="block text-sm font-medium text-gray-700 text-left">Estimated Retirement Assets <span class="text-red-500">*</span></label>
|
||||
<input type="number" name="retirementAssets" id="retirementAssets" min="0" placeholder="e.g., 500000" class="mt-1 block w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm" required>
|
||||
<input title="Owned valuables. Physical items, investments, etc." type="number" name="retirementAssets" id="retirementAssets" min="0" placeholder="e.g., 500000" class="mt-1 block w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm" required>
|
||||
</div>
|
||||
<div>
|
||||
<label for="retirementLiabilities" class="block text-sm font-medium text-gray-700 text-left">Estimated Retirement Liabilities <span class="text-red-500">*</span></label>
|
||||
<input type="number" name="retirementLiabilities" id="retirementLiabilities" min="0" placeholder="e.g., 50000" class="mt-1 block w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm" required>
|
||||
<input title="Owed amounts. Loans, credit card balance, etc." type="number" name="retirementLiabilities" id="retirementLiabilities" min="0" placeholder="e.g., 50000" class="mt-1 block w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm" required>
|
||||
</div>
|
||||
<div id="newPlanError" class="text-red-500 text-sm mt-2" style="display: none;"></div>
|
||||
<!-- Form Buttons: Save Plan and Reset -->
|
||||
|
||||
@@ -10,23 +10,23 @@
|
||||
<p class="text-sm text-gray-400 text-left mb-4"><span class="text-red-500">*</span> Indicates a required field</p>
|
||||
<div class="mt-4">
|
||||
<label for="name" class="block text-base mb-2 text-slate-600">Name <span class="text-red-500">*</span></label>
|
||||
<input type="text" id="name" name="name"
|
||||
<input required type="text" id="name" name="name"
|
||||
class="border border-slate-300 focus:border-indigo-500 w-full rounded-md text-base px-3 py-2 focus:outline-none focus:ring-1 focus:ring-indigo-500 transition-colors duration-200"
|
||||
placeholder="Enter Name" value="<%= typeof name != 'undefined' ? name : '' %>"/>
|
||||
</div>
|
||||
<div class="mt-4">
|
||||
<label for="email" class="block text-base mb-2 text-slate-600">Email <span class="text-red-500">*</span></label>
|
||||
<input type="email" id="email" name="email"
|
||||
<input required type="email" id="email" name="email"
|
||||
class="border border-slate-300 focus:border-indigo-500 w-full rounded-md text-base px-3 py-2 focus:outline-none focus:ring-1 focus:ring-indigo-500 transition-colors duration-200"
|
||||
placeholder="Enter Email" value="<%= typeof email != 'undefined' ? email : '' %>"/>
|
||||
</div>
|
||||
<div class="mt-4">
|
||||
<label for="password" class="block text-base mb-2 text-slate-600">Password <span class="text-red-500">*</span></label>
|
||||
<input type="password" id="password" name="password"
|
||||
<input required type="password" id="password" name="password"
|
||||
class="border border-slate-300 focus:border-indigo-500 w-full rounded-md text-base px-3 py-2 focus:outline-none focus:ring-1 focus:ring-indigo-500 transition-colors duration-200"
|
||||
placeholder="Enter Password" />
|
||||
<label for="repassword" class="block text-base mb-2 mt-3 text-slate-600">Re-type Password <span class="text-red-500">*</span></label>
|
||||
<input type="password" id="repassword" name="repassword"
|
||||
<input required type="password" id="repassword" name="repassword"
|
||||
class="border border-slate-300 focus:border-indigo-500 w-full rounded-md text-base px-3 py-2 focus:outline-none focus:ring-1 focus:ring-indigo-500 transition-colors duration-200"
|
||||
placeholder="Enter Password" />
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user