-
-
Notifications
You must be signed in to change notification settings - Fork 184
Expand file tree
/
Copy pathprofile.blade.php
More file actions
23 lines (21 loc) · 902 Bytes
/
Copy pathprofile.blade.php
File metadata and controls
23 lines (21 loc) · 902 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
@extends('settings.layout')
@section('settings_title')
<h2 class="mb-3">{{ __('general.profile') }}</h2>
@endsection
@section('settings_body')
<div class="box">
<div class="box__section">
<div class="input input--small">
<label>{{ __('fields.avatar') }}</label>
<img src="{{ Auth::user()->avatar_path }}" style="width: 200px; height: 200px; border-radius: 5px; object-fit: cover;" />
<input type="file" name="avatar" />
@include('partials.validation_error', ['payload' => 'avatar'])
</div>
<div class="input input--small">
<label>@lang('fields.name')</label>
<input type="text" name="name" value="{{ Auth::user()->name }}" />
</div>
<button class="button">{{ __('actions.save') }}</button>
</div>
</div>
@endsection