]> gitweb.michael.orlitzky.com - charm-bypass.git/commitdiff
index.html.in: name origin/destination <input>s after their values
authorMichael Orlitzky <michael@orlitzky.com>
Fri, 10 Nov 2023 15:45:52 +0000 (10:45 -0500)
committerMichael Orlitzky <michael@orlitzky.com>
Fri, 10 Nov 2023 15:45:52 +0000 (10:45 -0500)
They were named originX and destinationX (X = 1,2,...), but that makes
it plenty annoying to insert a new one into the list, which I'm about
to do.

index.html.in

index 0090a68b6a956c8bcae27726657e98e6d6e463fa..f92ecae19b506e9b7995ed3380fa7951cab48a8a 100644 (file)
           <div>
             <input type="radio" required checked
                    name="origin"
-                   id="origin1"
+                   id="origin_BAL"
                    value="BAL" />
-            <label for="origin1">Baltimore/Penn (Penn Line)</label>
+            <label for="origin_BAL">Baltimore/Penn (Penn Line)</label>
           </div>
           <div>
             <input type="radio" required
                    name="origin"
-                   id="origin2"
+                   id="origin_BCA"
                    value="BCA" />
-            <label for="origin2">Baltimore/Camden (Camden Line)</label>
+            <label for="origin_BCA">Baltimore/Camden (Camden Line)</label>
           </div>
           <div>
             <input type="radio" required
                    name="origin"
-                   id="origin3"
+                   id="origin_BWE"
                    value="BWE" />
-            <label for="origin3">Bowie State (Penn Line)</label>
+            <label for="origin_BWE">Bowie State (Penn Line)</label>
           </div>
           <div>
             <input type="radio" required
                    name="origin"
-                   id="origin4"
+                   id="origin_BWI"
                    value="BWI" />
-            <label for="origin4">BWI Airport (Penn Line)</label>
+            <label for="origin_BWI">BWI Airport (Penn Line)</label>
           </div>
           <div>
             <input type="radio" required
                    name="origin"
-                   id="origin5"
+                   id="origin_CPK"
                    value="CPK" />
-            <label for="origin5">College Park (Camden Line)</label>
+            <label for="origin_CPK">College Park (Camden Line)</label>
           </div>
           <div>
             <input type="radio" required
                    name="origin"
-                   id="origin6"
+                   id="origin_SEB"
                    value="SEB" />
-            <label for="origin6">Seabrook (Penn Line)</label>
+            <label for="origin_SEB">Seabrook (Penn Line)</label>
           </div>
           <div>
             <input type="radio" required
                    name="origin"
-                   id="origin7"
+                   id="origin_WAS"
                    value="WAS" />
-            <label for="origin7">Washington D.C.</label>
+            <label for="origin_WAS">Washington D.C.</label>
           </div>
           <div>
             <input type="radio" required
                    name="origin"
-                   id="origin8"
+                   id="origin_WBL"
                    value="WBL" />
-            <label for="origin8">West Baltimore (Penn Line)</label>
+            <label for="origin_WBL">West Baltimore (Penn Line)</label>
           </div>
 
           <p>Destination:</p>
           <div>
             <input type="radio" required
                    name="destination"
-                   id="destination1"
+                   id="destination_BAL"
                    value="BAL" />
-            <label for="destination1">Baltimore/Penn (Penn Line)</label>
+            <label for="destination_BAL">Baltimore/Penn (Penn Line)</label>
           </div>
           <div>
             <input type="radio" required
                    name="destination"
-                   id="destination2"
+                   id="destination_BCA"
                    value="BCA" />
-            <label for="destination2">Baltimore/Camden (Camden Line)</label>
+            <label for="destination_BCA">Baltimore/Camden (Camden Line)</label>
           </div>
           <div>
             <input type="radio" required
                    name="destination"
-                   id="destination3"
+                   id="destination_BWE"
                    value="BWE" />
-            <label for="destination3">Bowie State (Penn Line)</label>
+            <label for="destination_BWE">Bowie State (Penn Line)</label>
           </div>
           <div>
             <input type="radio" required
                    name="destination"
-                   id="destination4"
+                   id="destination_BWI"
                    value="BWI" />
-            <label for="destination4">BWI Airport (Penn Line)</label>
+            <label for="destination_BWI">BWI Airport (Penn Line)</label>
           </div>
           <div>
             <input type="radio" required
                    name="destination"
-                   id="destination5"
+                   id="destination_CPK"
                    value="CPK" />
-            <label for="destination5">College Park (Camden Line)</label>
+            <label for="destination_CPK">College Park (Camden Line)</label>
           </div>
           <div>
             <input type="radio" required
                    name="destination"
-                   id="destination6"
+                   id="destination_SEB"
                    value="SEB" />
-            <label for="destination6">Seabrook (Penn Line)</label>
+            <label for="destination_SEB">Seabrook (Penn Line)</label>
           </div>
           <div>
             <input type="radio" required checked
                    name="destination"
-                   id="destination7"
+                   id="destination_WAS"
                    value="WAS" />
-            <label for="destination7">Washington D.C.</label>
+            <label for="destination_WAS">Washington D.C.</label>
           </div>
           <div>
             <input type="radio" required
                    name="destination"
-                   id="destination8"
+                   id="destination_WBL"
                    value="WBL" />
-            <label for="destination8">West Baltimore (Penn Line)</label>
+            <label for="destination_WBL">West Baltimore (Penn Line)</label>
           </div>
 
           <p id="marc-form-errors">OK</p>