s11e149 radioo radioo

This commit is contained in:
Tyrel Souza 2018-04-18 23:52:31 -04:00
parent 6da09206b6
commit 1fd9759dc9

View File

@ -48,12 +48,14 @@
<div class="form-group">
<label for="sendmail">
<input
v-model="sendMail"
type="checkbox"
id="sendmail"
value="SendMail"> Send Mail
</label>
<label for="sendInfomail">
<input
v-model="sendMail"
type="checkbox"
id="sendInfomail"
value="SendInfoMail"> Send Infomail
@ -66,16 +68,25 @@
<div class="col-xs-12 col-sm-8 col-sm-offset-2 col-md-6 col-md-offset-3 form-group">
<label for="male">
<input
v-model="userData.gender"
type="radio"
id="male"
value="Male"> Male
</label>
<label for="female">
<input
v-model="userData.gender"
type="radio"
id="female"
value="Female"> Female
</label>
<label for="other">
<input
v-model="userData.gender"
type="radio"
id="other"
value="Other"> Other
</label>
</div>
</div>
<div class="row">
@ -111,9 +122,11 @@
<p style="white-space: pre">Message: {{message}}</p>
<p><strong>Send Mail?</strong></p>
<ul>
<li></li>
<li v-for="item in sendMail">
{{item}}
</li>
</ul>
<p>Gender:</p>
<p>Gender: {{userData.gender}}</p>
<p>Priority:</p>
<p>Switched:</p>
</div>
@ -130,10 +143,11 @@
userData: {
email: '',
password: '',
age: 30
age: 30,
gender: 'Male'
},
message: 'A new hope',
sendMail: [],
};
}
}