Current File : /home/tradevaly/new.tradevaly.com.bd/resources/views/backend/pages/profile.blade.php |
@extends('backend.ayaan.master')
@push('style')
@endpush
@section('content')
<div class="container-fluid">
<div class="row">
<div class="col-md-8">
<div class="card">
<div class="card-header card-header-icon card-header-info">
<h4 class="card-title">{{translate("Edit Profile -")}}
<small class="category">{{translate("Complete your profile")}}</small>
</h4>
</div>
<div class="card-body">
<form action="{{url('b2b/profile')}}" method="post" enctype="multipart/form-data">
@csrf
<div class="row">
<div class="col-md-12 mb-4">
<div class="form-group">
<input type="text" class="form-control" value="{{Auth::guard('admin')->user()->email}}" disabled>
</div>
</div>
<div class="col-md-12 mb-4">
<div class="form-group">
<input type="text" name="name" class="form-control" value="{{Auth::guard('admin')->user()->name}}">
</div>
</div>
<div class="col-md-12 mb-4">
<div class="form-group">
<input type="text" name="phone" class="form-control" value="{{Auth::guard('admin')->user()->phone}}">
</div>
</div>
<div class="col-md-12 mb-4">
<div class="form-group">
@if (Auth::guard('admin')->user()->image=="")
<img style="width:100px; margin-bottom:20px;" src="{{asset('assets/backend/img/default-avatar.png')}}" alt="...">
@else
<img style="width:100px; margin-bottom:20px;" src="{{asset('storage/images/admin/avatar/'.Auth::guard('admin')->user()->image)}}" alt="...">
@endif
<input type="file" name="image" class="form-control" value="Auth::guard('admin')->user()->image">
</div>
</div>
</div>
<button type="submit" class="btn btn-success pull-right">{{translate("Update Profile")}}</button>
<div class="clearfix"></div>
</form>
</div>
</div>
</div>
</div>
</div>
@stop
@push('script')
@endpush