From 30529536ee5137635a9efc483baa05dac198dd0d Mon Sep 17 00:00:00 2001
From: Michael Hunteman <michael@mac-mini.local>
Date: Sun, 19 Jan 2025 11:07:54 -0600
Subject: Move read only fields

---
 client/src/components/RsvpForm.tsx | 36 ++++++++++++++++++------------------
 1 file changed, 18 insertions(+), 18 deletions(-)

(limited to 'client/src/components/RsvpForm.tsx')

diff --git a/client/src/components/RsvpForm.tsx b/client/src/components/RsvpForm.tsx
index 84b05e0..b2af975 100644
--- a/client/src/components/RsvpForm.tsx
+++ b/client/src/components/RsvpForm.tsx
@@ -161,6 +161,24 @@ function RsvpForm() {
               </FormControl>
             </div>
           </Grid>
+          <Grid item xs={6}>
+            <TextField
+              label="First Name"
+              variant="outlined"
+              fullWidth
+              inputProps={{ readOnly: true }}
+              {...register('firstName')}
+            />
+          </Grid>
+          <Grid item xs={6}>
+            <TextField
+              label="Last Name"
+              variant="outlined"
+              fullWidth
+              inputProps={{ readOnly: true }}
+              {...register('lastName')}
+            />
+          </Grid>
           <Grid item xs={8}>
             <TextField
               label="Email"
@@ -214,24 +232,6 @@ function RsvpForm() {
               {...register('message')}
             />
           </Grid>
-          <Grid item xs={6}>
-            <TextField
-              label="First Name"
-              variant="outlined"
-              fullWidth
-              inputProps={{ readOnly: true }}
-              {...register('firstName')}
-            />
-          </Grid>
-          <Grid item xs={6}>
-            <TextField
-              label="Last Name"
-              variant="outlined"
-              fullWidth
-              inputProps={{ readOnly: true }}
-              {...register('lastName')}
-            />
-          </Grid>
           {fields.map((field, index) => {
             return (
               <Grid
-- 
cgit v1.2.3

