Changeset 24a616f for resources/views/dashboard/users/edit.blade.php
- Timestamp:
- 10/13/21 15:44:57 (3 years ago)
- Branches:
- develop, master
- Children:
- 120759b
- Parents:
- 194a359
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
resources/views/dashboard/users/edit.blade.php
r194a359 r24a616f 28 28 <div class="card-body"> 29 29 <h6 class="card-title">User account data</h6> 30 <form action="{{ route("dashboard.users.edit", ["id" =>$user->id]) }}" method="post" accept-charset="utf-8" >30 <form action="{{ route("dashboard.users.edit", ["id" =>$user->id]) }}" method="post" accept-charset="utf-8" enctype='multipart/form-data'> 31 31 @method("patch") 32 32 @csrf … … 78 78 </div> 79 79 </div> 80 <div class="row"> 81 <div class="col-md-5"> 82 <div class="form-group"> 83 <label>Avatar</label> 84 <input type="file" name="avatar" value="{{ $user->avatar }}" class="form-control" accept="image/*"> 85 </div> 86 </div> 87 <div class="col-md-1"> 88 <div class="form-group"> 89 <label>Current</label> 90 @include('dashboard.partials.avatar') 91 </div> 92 </div> 93 </div> 80 94 <input type="submit" value="Save changes" class="submitBtn btn btn-primary pull-right m-10"> 81 95 </form>
Note:
See TracChangeset
for help on using the changeset viewer.