-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwcss.html
More file actions
46 lines (37 loc) · 757 Bytes
/
wcss.html
File metadata and controls
46 lines (37 loc) · 757 Bytes
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
<head>
<title>wcss</title>
</head>
<body>
<h1>World Cup Sweep Stake</h1>
{{> loginButtons}}
{{#if currentUser}}
{{> myteam}}
{{> myleagues}}
{{> addleague}}
{{> allteams}}
{{/if}}
</body>
<template name="addleague">
<input type="text" id="league" />
<input type="submit" id="addLeague" value="Add League" />
</template>
<template name="myteam">
{{#with team}}
<div>
<p>Team : <span>{{name}}</span></p>
</div>
{{/with}}
</template>
<template name="myleagues">
<h3>My Leagues</h3>
{{#each league}}
<div>
{{name}}
</div>
{{/each}}
</template>
<template name="allteams">
{{#each team}}
<p> {{name}} </p>
{{/each}}
</template>