2018-10-19 00:56:29 +09:00
|
|
|
@extends('setting.base')
|
|
|
|
|
2019-01-19 00:32:56 +09:00
|
|
|
@section('title', 'プロフィール設定')
|
|
|
|
|
2018-10-19 00:56:29 +09:00
|
|
|
@section('tab-content')
|
|
|
|
<h3>プロフィール</h3>
|
|
|
|
<hr>
|
2018-12-30 23:19:52 +09:00
|
|
|
<form action="{{ route('setting.profile.update') }}" method="post">
|
2018-10-19 00:56:29 +09:00
|
|
|
{{ csrf_field() }}
|
|
|
|
<div class="from-group">
|
|
|
|
<label for="display_name">名前</label>
|
2019-01-19 00:39:57 +09:00
|
|
|
<input id="display_name" name="display_name" type="text" class="form-control {{ $errors->has('display_name') ? ' is-invalid' : '' }}"
|
|
|
|
value="{{ old('display_name') ?? Auth::user()->display_name }}" maxlength="20" autocomplete="off">
|
|
|
|
|
|
|
|
@if ($errors->has('display_name'))
|
|
|
|
<div class="invalid-feedback">{{ $errors->first('display_name') }}</div>
|
|
|
|
@endif
|
2018-10-19 00:56:29 +09:00
|
|
|
</div>
|
|
|
|
<div class="from-group mt-2">
|
|
|
|
<label for="name">ユーザー名</label>
|
|
|
|
<div class="input-group">
|
|
|
|
<div class="input-group-prepend">
|
|
|
|
<div class="input-group-text">@</div>
|
|
|
|
</div>
|
2019-01-19 00:29:36 +09:00
|
|
|
<input id="name" name="name" type="text" class="form-control" value="{{ Auth::user()->name }}" disabled>
|
2018-10-19 00:56:29 +09:00
|
|
|
</div>
|
|
|
|
<small class="form-text text-muted">現在は変更できません。</small>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<button type="submit" class="btn btn-primary mt-4">更新</button>
|
|
|
|
</form>
|
2018-12-30 23:19:52 +09:00
|
|
|
@endsection
|