Skip to content

Commit 39b3da8

Browse files
committed
Added volunteer checkbox
1 parent 3dfa1bc commit 39b3da8

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

pages/index.vue

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<div class="col-12 col-md-10 offset-md-1 px-4 py-4" v-else>
1111
<div class="form-group row" :class="interestEmailError ? 'has-danger' : ''">
1212
<div class="col-12">
13-
<label for="interestEmail" class="h4">Tell me about AgileCamp 2018!</label>
13+
<label for="interestEmail" class="lead">We’re currently planning AgileCamp 2018. Stay in touch with us!</label>
1414
</div>
1515
<div class="col-12 col-md-6">
1616
<input class="form-control form-control-danger" type="email" id="interestEmail" placeholder="Email address"
@@ -54,6 +54,14 @@
5454
I want AgileCamp in my city
5555
</label>
5656
</div>
57+
58+
<div class="form-check col-sm-12">
59+
<label class="form-check-label">
60+
<input class="form-check-input" type="checkbox"
61+
v-model="interestOpts.volunteer" true-value="yes" false-value="no" />
62+
I want to volunteer
63+
</label>
64+
</div>
5765
</fieldset>
5866

5967
<button type="button" class="btn btn-primary" @click="submitInterest">Submit</button>
@@ -391,7 +399,8 @@ export default {
391399
city: 'no',
392400
dates: 'yes',
393401
opportunities: 'no',
394-
speaker: 'no'
402+
speaker: 'no',
403+
volunteer: 'no'
395404
},
396405
397406
// Social links

0 commit comments

Comments
 (0)