blob: d4ff1153bb9d23e479f5a18d6011367ccb34bf43 (
plain)
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
|
<template name="dates">
<form class="dates">
<div class="form-group">
{{#each months}}
{{> month}}
{{/each}}
</div>
<div class="form-group">
{{#each years}}
{{> year}}
{{/each}}
</div>
<button type="submit" class="dates btn btn-default">Start</button>
</form>
</template>
<template name="month">
<label class="radio-inline">
<input type="radio" name="monthOptions" id="monthRadio{{this}}" value="{{this}}"> {{this}}
</label>
</template>
<template name="year">
<label class="radio-inline">
<input type="radio" name="yearOptions" id="yearRadio{{this}}" value="{{this}}"> {{this}}
</label>
</template>
|