Repository navigation
Expand file tree
/
Copy pathTestSnapshotForm.snap.xml
More file actions
50 lines (50 loc) · 1.93 KB
/
Copy pathTestSnapshotForm.snap.xml
File metadata and controls
50 lines (50 loc) · 1.93 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<myPage xmlns:c="https://github.com/Teajey/hmc">
<!--See an overview of what this XML means at https://github.com/Teajey/hmc/blob/main/README.md -->
<Title>Login to my thing</Title>
<c:Form method="POST">
<login>
<c:Label>Username
<c:Input name="username" value="john" required="true"></c:Input>
</c:Label>
<c:Label>Password
<c:Input type="password" name="password" value="********" required="true"></c:Input>
</c:Label>
<c:Label>Confirm password
<c:Input type="password" name="confirmPassword" value="" required="true">
<c:Error>value is required</c:Error>
</c:Input>
</c:Label>
<c:Label>Favourite food
<c:Select name="favFood" required="true">
<c:Option></c:Option>
<c:Option>fruit</c:Option>
<c:Option>vegetables</c:Option>
<c:Option>meat</c:Option>
<c:Option>fish</c:Option>
<c:Option value="bugs" selected="">Bugs</c:Option>
</c:Select>
</c:Label>
<c:Label>Do you like movies?
<c:Input type="checkbox" name="likes" value="movies" checked="true"></c:Input>
</c:Label>
<c:Label>Do you like music?
<c:Input type="checkbox" name="likes" value="music" checked="true"></c:Input>
</c:Label>
<c:Label>Do you like games?
<c:Input type="checkbox" name="likes" value="games"></c:Input>
</c:Label>
<c:Label>Do you agree to our terms?
<c:Input type="checkbox" name="terms" value="agreed" checked="true"></c:Input>
</c:Label>
<c:Label>Do you want our newsletter?
<c:Input type="checkbox" name="newsletter" value="yes"></c:Input>
</c:Label>
<c:Label>Any other arbitrary information you wanna provide?
<c:Map name="misc">
<c:Input name="misc[iq]" value="80"></c:Input>
</c:Map>
</c:Label>
<c:Link href="/register">Register</c:Link>
</login>
</c:Form>
</myPage>