|
39 | 39 | <label class="block text-sm font-medium text-gray-700 mb-1"> |
40 | 40 | Merchant Name <span class="text-red-500">*</span> |
41 | 41 | </label> |
42 | | - <InputText @bind-Value="model.MerchantName" class="input w-full" placeholder="Enter merchant name" /> |
| 42 | + <InputText @bind-Value="model.MerchantName" class="input w-full" placeholder="Enter merchant name" name="MerchantName" /> |
43 | 43 | <ValidationMessage For="@(() => model.MerchantName)" class="text-red-600 text-sm mt-1" /> |
44 | 44 | </div> |
45 | 45 |
|
46 | 46 | <div> |
47 | 47 | <label class="block text-sm font-medium text-gray-700 mb-1"> |
48 | 48 | Settlement Schedule <span class="text-red-500">*</span> |
49 | 49 | </label> |
50 | | - <InputSelect @bind-Value="model.SettlementSchedule" class="input w-full"> |
| 50 | + <InputSelect @bind-Value="model.SettlementSchedule" class="input w-full" name="SettlementSchedule"> |
51 | 51 | <option value="">Select a schedule...</option> |
52 | 52 | <option value="Immediate">Immediate</option> |
53 | 53 | <option value="Weekly">Weekly</option> |
|
66 | 66 | <label class="block text-sm font-medium text-gray-700 mb-1"> |
67 | 67 | Address Line 1 <span class="text-red-500">*</span> |
68 | 68 | </label> |
69 | | - <InputText @bind-Value="model.AddressLine1" class="input w-full" placeholder="Enter address line 1" /> |
| 69 | + <InputText @bind-Value="model.AddressLine1" class="input w-full" placeholder="Enter address line 1" name="AddressLine1" /> |
70 | 70 | <ValidationMessage For="@(() => model.AddressLine1)" class="text-red-600 text-sm mt-1" /> |
71 | 71 | </div> |
72 | 72 |
|
73 | 73 | <div> |
74 | 74 | <label class="block text-sm font-medium text-gray-700 mb-1"> |
75 | 75 | Address Line 2 |
76 | 76 | </label> |
77 | | - <InputText @bind-Value="model.AddressLine2" class="input w-full" placeholder="Enter address line 2 (optional)" /> |
| 77 | + <InputText @bind-Value="model.AddressLine2" class="input w-full" placeholder="Enter address line 2 (optional)" name="AddressLine2" /> |
78 | 78 | </div> |
79 | 79 |
|
80 | 80 | <div class="grid grid-cols-1 md:grid-cols-2 gap-4"> |
81 | 81 | <div> |
82 | 82 | <label class="block text-sm font-medium text-gray-700 mb-1"> |
83 | 83 | Town <span class="text-red-500">*</span> |
84 | 84 | </label> |
85 | | - <InputText @bind-Value="model.Town" class="input w-full" placeholder="Enter town" /> |
| 85 | + <InputText @bind-Value="model.Town" class="input w-full" placeholder="Enter town" name="Town" /> |
86 | 86 | <ValidationMessage For="@(() => model.Town)" class="text-red-600 text-sm mt-1" /> |
87 | 87 | </div> |
88 | 88 |
|
89 | 89 | <div> |
90 | 90 | <label class="block text-sm font-medium text-gray-700 mb-1"> |
91 | 91 | Region <span class="text-red-500">*</span> |
92 | 92 | </label> |
93 | | - <InputText @bind-Value="model.Region" class="input w-full" placeholder="Enter region" /> |
| 93 | + <InputText @bind-Value="model.Region" class="input w-full" placeholder="Enter region" name="Region" /> |
94 | 94 | <ValidationMessage For="@(() => model.Region)" class="text-red-600 text-sm mt-1" /> |
95 | 95 | </div> |
96 | 96 | </div> |
|
100 | 100 | <label class="block text-sm font-medium text-gray-700 mb-1"> |
101 | 101 | PostCode <span class="text-red-500">*</span> |
102 | 102 | </label> |
103 | | - <InputText @bind-Value="model.PostCode" class="input w-full" placeholder="Enter postcode" /> |
| 103 | + <InputText @bind-Value="model.PostCode" class="input w-full" placeholder="Enter postcode" name="PostCode" /> |
104 | 104 | <ValidationMessage For="@(() => model.PostCode)" class="text-red-600 text-sm mt-1" /> |
105 | 105 | </div> |
106 | 106 |
|
107 | 107 | <div> |
108 | 108 | <label class="block text-sm font-medium text-gray-700 mb-1"> |
109 | 109 | Country <span class="text-red-500">*</span> |
110 | 110 | </label> |
111 | | - <InputText @bind-Value="model.Country" class="input w-full" placeholder="Enter country" /> |
| 111 | + <InputText @bind-Value="model.Country" class="input w-full" placeholder="Enter country" name="Country" /> |
112 | 112 | <ValidationMessage For="@(() => model.Country)" class="text-red-600 text-sm mt-1" /> |
113 | 113 | </div> |
114 | 114 | </div> |
|
123 | 123 | <label class="block text-sm font-medium text-gray-700 mb-1"> |
124 | 124 | Contact Name <span class="text-red-500">*</span> |
125 | 125 | </label> |
126 | | - <InputText @bind-Value="model.ContactName" class="input w-full" placeholder="Enter contact name" /> |
| 126 | + <InputText @bind-Value="model.ContactName" class="input w-full" placeholder="Enter contact name" name="ContactName" /> |
127 | 127 | <ValidationMessage For="@(() => model.ContactName)" class="text-red-600 text-sm mt-1" /> |
128 | 128 | </div> |
129 | 129 |
|
130 | 130 | <div> |
131 | 131 | <label class="block text-sm font-medium text-gray-700 mb-1"> |
132 | 132 | Email Address <span class="text-red-500">*</span> |
133 | 133 | </label> |
134 | | - <InputText @bind-Value="model.EmailAddress" type="email" class="input w-full" placeholder="Enter email address" /> |
| 134 | + <InputText @bind-Value="model.EmailAddress" type="email" class="input w-full" placeholder="Enter email address" name="EmailAddress" /> |
135 | 135 | <ValidationMessage For="@(() => model.EmailAddress)" class="text-red-600 text-sm mt-1" /> |
136 | 136 | </div> |
137 | 137 |
|
138 | 138 | <div> |
139 | 139 | <label class="block text-sm font-medium text-gray-700 mb-1"> |
140 | 140 | Phone Number <span class="text-red-500">*</span> |
141 | 141 | </label> |
142 | | - <InputText @bind-Value="model.PhoneNumber" type="tel" class="input w-full" placeholder="Enter phone number" /> |
| 142 | + <InputText @bind-Value="model.PhoneNumber" type="tel" class="input w-full" placeholder="Enter phone number" name="PhoneNumber" /> |
143 | 143 | <ValidationMessage For="@(() => model.PhoneNumber)" class="text-red-600 text-sm mt-1" /> |
144 | 144 | </div> |
145 | 145 | </div> |
|
0 commit comments