File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 20
20
<input v-model =" form.name"
21
21
class =" mb-2 shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline"
22
22
id =" name" type =" text" >
23
- <!-- < span class="text-red-500">{{ errors.name }}</span> -- >
23
+ <span class =" text-red-500" >{{ errors.name }}</span >
24
24
</div >
25
25
26
26
<div class =" mb-4" >
30
30
<input v-model =" form.email"
31
31
class =" mb-2 shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline"
32
32
id =" email" type =" email" >
33
- <!-- < span class="text-red-500">{{ errors.email }}</span> -- >
33
+ <span class =" text-red-500" >{{ errors.email }}</span >
34
34
</div >
35
35
36
36
<div class =" mb-4" >
50
50
<input v-model =" form.password"
51
51
class =" mb- 2shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline"
52
52
id =" password" type =" password" >
53
- <!-- < span class="text-red-500">{{ errors.password }}</span> -- >
53
+ <span class =" text-red-500" >{{ errors.password }}</span >
54
54
</div >
55
55
56
56
<div class =" flex items-center justify-between" >
@@ -78,6 +78,9 @@ export default {
78
78
AppLayout,
79
79
Button
80
80
},
81
+ props: {
82
+ errors: Object ,
83
+ },
81
84
data () {
82
85
return {
83
86
form: this .$inertia .form ({
You can’t perform that action at this time.
0 commit comments