File tree 6 files changed +14
-30
lines changed
6 files changed +14
-30
lines changed Original file line number Diff line number Diff line change 106
106
|
107
107
*/
108
108
109
- 'faker_locale ' => 'en_US ' ,
109
+ 'faker_locale ' => 'pl_PL ' ,
110
110
111
111
/*
112
112
|--------------------------------------------------------------------------
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -170,7 +170,7 @@ input::-webkit-input-placeholder {
170
170
gap : 5vh ;
171
171
}
172
172
173
- # error {
173
+ . error {
174
174
color : red;
175
175
margin-top : -4vh ;
176
176
}
Original file line number Diff line number Diff line change 1
1
2
2
const viewDoctorHours = ( selectElement = null ) => {
3
3
4
- $ ( '#error ' ) . text ( "" )
4
+ $ ( '#error_js ' ) . text ( "" )
5
5
6
6
let doctorId = $ ( "#form_doctor" ) . val ( ) ;
7
7
let doctorName = ( selectElement != null ) ? selectElement . options [ selectElement . selectedIndex ] . text : $ ( "#form_doctor option:first" ) . text ( ) ;
@@ -36,7 +36,7 @@ const viewDoctorHours = (selectElement = null) =>{
36
36
37
37
} )
38
38
. catch ( ( error ) => {
39
- $ ( '#error ' ) . text ( error )
39
+ $ ( '#error_js ' ) . text ( error )
40
40
} )
41
41
}
42
42
Original file line number Diff line number Diff line change 43
43
@endforeach
44
44
</select >
45
45
46
- <textarea id =" form_description" placeholder =" Krótki opis dla lekarza..." name =" description"
46
+ <textarea required id =" form_description" placeholder =" Krótki opis dla lekarza..." name =" description"
47
47
>@isset ($description ){{ $description } }@endisset </textarea >
48
48
49
- <input type =" date" name =" visit_date"
49
+ <input required type =" date" name =" visit_date"
50
50
@isset ($visit_date )
51
51
value =" {{ $visit_date } }"
52
52
@endisset
53
53
>
54
54
55
- <input type =" time" name =" visit_time"
55
+ <input required type =" time" name =" visit_time"
56
56
@isset ($visit_time )
57
57
value =" {{ $visit_time } }"
58
58
@endisset
59
59
>
60
60
61
61
<input type =" submit" >
62
62
63
- <span id =" error" >{{ $error_message } } </span >
63
+ <span class =" error" >{{ $error_message } } </span >
64
+ <span class =" error" id =" error_js" ></span >
64
65
65
66
</div >
66
67
Original file line number Diff line number Diff line change 48
48
@endforeach
49
49
</select >
50
50
51
- <textarea id =" form_description" placeholder =" Krótki opis dla lekarza..." name =" description"
51
+ <textarea required id =" form_description" placeholder =" Krótki opis dla lekarza..." name =" description"
52
52
>@isset ($description ){{ $description } }@endisset </textarea >
53
53
54
- <input type =" date" name =" visit_date"
54
+ <input required type =" date" name =" visit_date"
55
55
@isset ($visit_date )
56
56
value =" {{ $visit_date } }"
57
57
@endisset
58
58
>
59
59
60
- <input type =" time" name =" visit_time"
60
+ <input required type =" time" name =" visit_time"
61
61
@isset ($visit_time )
62
62
value =" {{ $visit_time } }"
63
63
@endisset
64
64
>
65
65
66
66
<input type =" submit" >
67
67
68
- <span id =" error" >{{ $error_message } } </span >
68
+ <span class =" error" >{{ $error_message } } </span >
69
+ <span class =" error" id =" error_js" ></span >
69
70
70
71
</div >
71
72
You can’t perform that action at this time.
0 commit comments