File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change 29
29
@enderror
30
30
</div >
31
31
</div >
32
-
32
+ @if ( $user_level == 1 )
33
33
<div class =" form-group row" >
34
34
<label for =" roll_no" class =" col-md-4 col-form-label text-md-right" >{{ __ (' Roll Number' ) } } </label >
35
35
43
43
@enderror
44
44
</div >
45
45
</div >
46
+ @elseif ($user_level == 2 )
47
+ <div class =" form-group row" >
48
+ <label for =" roll_no" class =" col-md-4 col-form-label text-md-right" >{{ __ (' Teacher ID' ) } } </label >
49
+
50
+ <div class =" col-md-6" >
51
+ <input id =" roll_no" type =" text" class =" form-control @error (' roll_no' ) is-invalid @enderror " name =" roll_no" value =" {{ old (' roll_no' ) } }" required autocomplete =" roll_no" >
46
52
53
+ @error (' roll_no' )
54
+ <span class =" invalid-feedback" role =" alert" >
55
+ <strong >{{ $message } } </strong >
56
+ </span >
57
+ @enderror
58
+ </div >
59
+ </div >
60
+ @endif
47
61
<div class =" form-group row" >
48
62
<label for =" email" class =" col-md-4 col-form-label text-md-right" >{{ __ (' E-Mail Address' ) } } </label >
49
63
You can’t perform that action at this time.
0 commit comments