6
6
<h5 class =" modal-title" >Edit Profile</h5 >
7
7
<button type =" button" aria-label =" Close" class =" close outline-none" data-dismiss =" modal" >×</button >
8
8
</div >
9
- {{ Form :: open ([ ' id ' => ' editProfileForm' , ' files ' => true ]) } }
9
+ < form method = " POST " id = " editProfileForm" enctype = " multipart/form-data " >
10
10
<div class =" modal-body" >
11
11
<div class =" alert alert-danger d-none" id =" editProfileValidationErrorsBox" ></div >
12
- {{ Form :: hidden ( ' user_id' , null ,[ ' id ' => ' pfUserId' ]) } }
13
- {{ Form :: hidden ( ' is_active' , 1 ) } }
12
+ < input type = " hidden" name = " user_id" id = " pfUserId" >ð
13
+ < input type = " hidden" name = " is_active" value = " 1 " >
14
14
{{ csrf_field ()} }
15
15
<div class =" row" >
16
16
<div class =" form-group col-sm-6" >
17
- {{ Form :: label ( ' name ' , ' Name : ' ) } } <span class =" required" >*</span >
18
- {{ Form :: text ( ' name' , null , [ ' id ' => ' pfName' , ' class ' => ' form-control' , ' required' , ' autofocus' , ' tabindex' => " 1" ]) } }
17
+ < label > Name:</ label > <span class =" required" >*</span >
18
+ < input type = " text" name = " name " id = " pfName" class = " form-control" required autofocus tabindex = " 1" >
19
19
</div >
20
20
<div class =" form-group col-sm-6 d-flex" >
21
21
<div class =" col-sm-4 col-md-6 pl-0 form-group" >
22
- {{ Form :: label ( ' photo ' , ' Profile Image : ' ) } }
22
+ < label > Profile Image:</ label >
23
23
<br >
24
24
<label
25
25
class =" image__file-upload btn btn-primary text-white"
26
26
tabindex =" 2" > Choose
27
- {{ Form :: file ( ' photo' ,[ ' id ' => ' pfImage' , ' class ' => ' d-none' ]) } }
27
+ < input type = " file" name = " photo" id = " pfImage" class = " d-none" >
28
28
</label >
29
29
</div >
30
30
<div class =" col-sm-3 preview-image-video-container float-right mt-1" >
@@ -35,18 +35,18 @@ class="image__file-upload btn btn-primary text-white"
35
35
</div >
36
36
<div class =" row" >
37
37
<div class =" form-group col-sm-6" >
38
- {{ Form :: label ( ' email ' , ' Email : ' ) } } <span class =" required" >*</span >
39
- {{ Form :: text ( ' email' , null , [ ' id ' => ' pfEmail' , ' class ' => ' form-control' , ' required' , ' tabindex' => " 3" ]) } }
38
+ < label > Email:</ label > <span class =" required" >*</span >
39
+ < input type = " text" name = " email" id = " pfEmail" class = " form-control" required tabindex = " 3" >
40
40
</div >
41
41
</div >
42
42
<div class =" text-right" >
43
- {{ Form :: button ( ' save ' , [ ' type' => ' submit' , ' class ' => ' btn btn-primary' , ' id ' => ' btnPrEditSave' , ' data-loading-text' => " <span class='spinner-border spinner-border-sm'></span> Processing..." , ' tabindex' => " 5" ]) } }
43
+ < button type = " submit" class = " btn btn-primary" id = " btnPrEditSave" data-loading-text = " <span class='spinner-border spinner-border-sm'></span> Processing..." tabindex = " 5" >Save</ button >
44
44
<button type =" button" class =" btn btn-light ml-1 edit-cancel-margin margin-left-5"
45
45
data-dismiss =" modal" >Cancel
46
46
</button >
47
47
</div >
48
48
</div >
49
- {{ Form :: close () } }
49
+ </ form >>
50
50
</div >
51
51
</div >
52
52
</div >
0 commit comments