Skip to content

Commit

Permalink
Update label closing tags (vuejs#1576)
Browse files Browse the repository at this point in the history
Added missing slash in label closing tags.
  • Loading branch information
emazyka authored and chrisvfritz committed Apr 12, 2018
1 parent df55307 commit f3aa2c0
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/v2/cookbook/form-validation.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,17 @@ Given a form of three fields, make two required. Let's look at the HTML first:
</p>

<p>
<label for="name">Name<label>
<label for="name">Name</label>
<input type="text" name="name" id="name" v-model="name">
</p>

<p>
<label for="age">Age<label>
<label for="age">Age</label>
<input type="number" name="age" id="age" v-model="age" min="0">
</p>

<p>
<label for="movie">Favorite Movie<label>
<label for="movie">Favorite Movie</label>
<select name="movie" id="movie" v-model="movie">
<option>Star Wars</option>
<option>Vanilla Sky</option>
Expand Down Expand Up @@ -93,17 +93,17 @@ For the second example, the second text field (age) was switched to email which
</p>

<p>
<label for="name">Name<label>
<label for="name">Name</label>
<input type="text" name="name" id="name" v-model="name">
</p>

<p>
<label for="email">Email<label>
<label for="email">Email</label>
<input type="email" name="email" id="email" v-model="email">
</p>

<p>
<label for="movie">Favorite Movie<label>
<label for="movie">Favorite Movie</label>
<select name="movie" id="movie" v-model="movie">
<option>Star Wars</option>
<option>Vanilla Sky</option>
Expand Down

0 comments on commit f3aa2c0

Please sign in to comment.