feat: update create profile form placeholders and handle

This commit is contained in:
Prad Nukala
2024-12-09 21:45:52 -05:00
parent 54e51768c0
commit 0a68ab682d
8 changed files with 240 additions and 145 deletions
+3 -3
View File
@@ -25,11 +25,11 @@ templ CreateProfile(action string, method string, data CreateProfileData) {
</div>
</div>
@layout.Rows() {
<sl-input name="first_name" placeholder="Steve" type="text" label="First Name" required autofocus></sl-input>
<sl-input name="last_name" placeholder="J" maxlength="1" type="text" label="Last Initial"></sl-input>
<sl-input name="first_name" placeholder="Satoshi" type="text" label="First Name" required autofocus></sl-input>
<sl-input name="last_name" placeholder="N" maxlength="1" type="text" label="Last Initial"></sl-input>
}
@layout.Spacer()
<sl-input name="handle" placeholder="thoughtdiff" type="text" label="Handle" minlength="4" maxlength="12" required>
<sl-input name="handle" placeholder="digitalgold" type="text" label="Handle" minlength="4" maxlength="12" required>
<div slot="prefix">
<sl-icon name="at-sign" library="sonr"></sl-icon>
</div>