|
7 | 7 | <button type="button" aria-label="Close" class="close outline-none" data-dismiss="modal">×</button>
|
8 | 8 | </div>
|
9 | 9 | <form method="POST" id="editProfileForm" enctype="multipart/form-data">
|
10 |
| - <div class="modal-body"> |
11 |
| - <div class="alert alert-danger d-none" id="editProfileValidationErrorsBox"></div> |
12 |
| - <input type="hidden" name="user_id" id="pfUserId">ð |
13 |
| - <input type="hidden" name="is_active" value="1"> |
14 |
| - {{csrf_field()}} |
15 |
| - <div class="row"> |
16 |
| - <div class="form-group col-sm-6"> |
17 |
| - <label>Name:</label><span class="required">*</span> |
18 |
| - <input type="text" name="name" id="pfName" class="form-control" required autofocus tabindex="1"> |
19 |
| - </div> |
20 |
| - <div class="form-group col-sm-6 d-flex"> |
21 |
| - <div class="col-sm-4 col-md-6 pl-0 form-group"> |
22 |
| - <label>Profile Image:</label> |
23 |
| - <br> |
24 |
| - <label |
25 |
| - class="image__file-upload btn btn-primary text-white" |
26 |
| - tabindex="2"> Choose |
27 |
| - <input type="file" name="photo" id="pfImage" class="d-none" > |
28 |
| - </label> |
| 10 | + <div class="modal-body"> |
| 11 | + <div class="alert alert-danger d-none" id="editProfileValidationErrorsBox"></div> |
| 12 | + <input type="hidden" name="user_id" id="pfUserId"> |
| 13 | + <input type="hidden" name="is_active" value="1"> |
| 14 | + {{csrf_field()}} |
| 15 | + <div class="row"> |
| 16 | + <div class="form-group col-sm-6"> |
| 17 | + <label>Name:</label><span class="required">*</span> |
| 18 | + <input type="text" name="name" id="pfName" class="form-control" required autofocus tabindex="1"> |
29 | 19 | </div>
|
30 |
| - <div class="col-sm-3 preview-image-video-container float-right mt-1"> |
31 |
| - <img id='edit_preview_photo' class="img-thumbnail user-img user-profile-img profilePicture" |
32 |
| - src="{{asset('img/logo.png')}}"/> |
| 20 | + <div class="form-group col-sm-6 d-flex"> |
| 21 | + <div class="col-sm-4 col-md-6 pl-0 form-group"> |
| 22 | + <label>Profile Image:</label> |
| 23 | + <br> |
| 24 | + <label |
| 25 | + class="image__file-upload btn btn-primary text-white" |
| 26 | + tabindex="2"> Choose |
| 27 | + <input type="file" name="photo" id="pfImage" class="d-none" > |
| 28 | + </label> |
| 29 | + </div> |
| 30 | + <div class="col-sm-3 preview-image-video-container float-right mt-1"> |
| 31 | + <img id='edit_preview_photo' class="img-thumbnail user-img user-profile-img profilePicture" |
| 32 | + src="{{asset('img/logo.png')}}"/> |
| 33 | + </div> |
33 | 34 | </div>
|
34 | 35 | </div>
|
35 |
| - </div> |
36 |
| - <div class="row"> |
37 |
| - <div class="form-group col-sm-6"> |
38 |
| - <label>Email:</label><span class="required">*</span> |
39 |
| - <input type="text" name="email" id="pfEmail" class="form-control" required tabindex="3"> |
| 36 | + <div class="row"> |
| 37 | + <div class="form-group col-sm-6"> |
| 38 | + <label>Email:</label><span class="required">*</span> |
| 39 | + <input type="text" name="email" id="pfEmail" class="form-control" required tabindex="3"> |
| 40 | + </div> |
| 41 | + </div> |
| 42 | + <div class="text-right"> |
| 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 | + <button type="button" class="btn btn-light ml-1 edit-cancel-margin margin-left-5" |
| 45 | + data-dismiss="modal">Cancel |
| 46 | + </button> |
40 | 47 | </div>
|
41 | 48 | </div>
|
42 |
| - <div class="text-right"> |
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 |
| - <button type="button" class="btn btn-light ml-1 edit-cancel-margin margin-left-5" |
45 |
| - data-dismiss="modal">Cancel |
46 |
| - </button> |
47 |
| - </div> |
48 |
| - </div> |
49 |
| - </form>> |
| 49 | + </form> |
50 | 50 | </div>
|
51 | 51 | </div>
|
52 | 52 | </div>
|
|
0 commit comments