1111 < h1 > Gold Price Calculator</ h1 >
1212 < p class ="text-center "> It's quick, easy, and accurate! with a clear and intuitive design.</ p >
1313 < form action ="/gold-calculator " method ="POST " class ="form-card shadow p-4 bg-white rounded ">
14+
1415 < div class ="form-group ">
1516 < label for ="weight "> Weight (grams): < i class ="fa-solid fa-scale-balanced "> </ i > </ label >
1617 < input type ="number " step ="0.01 " name ="weight " id ="weight " class ="form-control " placeholder ="Enter weight in grams " required >
1718 </ div >
19+
1820 < div class ="form-group ">
19- < label > Gold Purity: < i class ="fa-solid fa-magnifying-glass "> </ i > </ label >
20- < div class ="form-check ">
21- < input type ="radio " name ="purity " value ="18k " id ="18k " class ="form-check-input ">
22- < label for ="18k " class ="form-check-label "> 18k</ label >
23- </ div >
24- < div class ="form-check ">
25- < input type ="radio " name ="purity " value ="22k " id ="22k " class ="form-check-input " checked >
26- < label for ="22k " class ="form-check-label "> 22k</ label >
27- </ div >
28- < div class ="form-check ">
29- < input type ="radio " name ="purity " value ="24k " id ="24k " class ="form-check-input ">
30- < label for ="24k " class ="form-check-label "> 24k</ label >
31- </ div >
32- </ div >
21+ < label for ="purity "> Gold Purity: < i class ="fa-solid fa-magnifying-glass "> </ i > </ label >
22+ < select name ="purity " id ="purity " class ="form-control " required >
23+ < option value ="18k "> 18k</ option >
24+ < option value ="22k " selected > 22k</ option >
25+ < option value ="24k "> 24k</ option >
26+ </ select >
27+ </ div >
28+
3329 < div class ="form-group ">
3430 < label for ="price_per_gram "> Price per gram (INR): < i class ="fa-solid fa-weight-hanging "> </ i > </ label >
3531 < input type ="number " step ="0.01 " name ="price_per_gram " id ="price_per_gram " class ="form-control " placeholder ="Enter price per gram " value ="{{ price_per_gram }} " required >
@@ -39,10 +35,12 @@ <h1>Gold Price Calculator</h1>
3935 < label for ="service_charge "> Service Charge (%): < i class ="fa-solid fa-file-invoice-dollar "> </ i > </ label >
4036 < input type ="number " step ="0.01 " name ="service_charge " id ="service_charge " class ="form-control " placeholder ="Enter service charge percentage " value ="{{ service_charge }} " required >
4137 </ div >
38+
4239 < div class ="form-group ">
4340 < label for ="tax "> Tax (%): < i class ="fa-solid fa-file-invoice-dollar "> </ i > </ label >
4441 < input type ="number " step ="0.01 " name ="tax " id ="tax " class ="form-control " placeholder ="Enter tax percentage " value ="{{ tax }} " required >
4542 </ div >
43+
4644 < button type ="submit " class ="btn btn-hero btn-block mt-4 "> Generate Estimate Bill</ button >
4745 </ form >
4846 </ div >
0 commit comments