Commit 5c0c237e authored by Laura Kalbag's avatar Laura Kalbag

Add for attribute to labels and id attribute to inputs to pair label and input fields

parent 2279a5fc
......@@ -2,12 +2,12 @@
<div>
<form @submit.prevent>
<b-field label='Name'>
<b-input v-model='name' placeholder='Anonymous'></b-input>
<b-field label='Name' for='profile-name'>
<b-input v-model='name' placeholder='Anonymous' id='profile-name'></b-input>
</b-field>
<b-field label='Bio'>
<b-input v-model='bio' placeholder='Anonymous'></b-input>
<b-field label='Bio' for='profile-bio'>
<b-input v-model='bio' placeholder='Anonymous' id='profile-bio'></b-input>
</b-field>
<label class='label' for='profile-image-upload'>Profile image</label>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment