Merge pull request #286 from shikorism/username-hint
ユーザー名は変更できないことを明記する
This commit is contained in:
		@@ -24,6 +24,7 @@
 | 
			
		||||
                <div class="form-group">
 | 
			
		||||
                    <label for="name"><span class="oi oi-person"></span> ユーザー名</label>
 | 
			
		||||
                    <input id="name" name="name" class="form-control{{ $errors->has('name') ? ' is-invalid' : '' }}" type="text" value="{{ old('name') }}" required>
 | 
			
		||||
                    <small class="form-text text-muted">半角英数字と一部記号が使用できます。一度決めたら変更できません。</small>
 | 
			
		||||
 | 
			
		||||
                    @if ($errors->has('name'))
 | 
			
		||||
                        <div class="invalid-feedback">{{ $errors->first('name') }}</div>
 | 
			
		||||
@@ -81,4 +82,4 @@
 | 
			
		||||
        </div>
 | 
			
		||||
    </div>
 | 
			
		||||
</div>
 | 
			
		||||
@endsection
 | 
			
		||||
@endsection
 | 
			
		||||
 
 | 
			
		||||
@@ -29,7 +29,7 @@
 | 
			
		||||
                </div>
 | 
			
		||||
                <input id="name" name="name" type="text" class="form-control" value="{{ Auth::user()->name }}" disabled>
 | 
			
		||||
            </div>
 | 
			
		||||
            <small class="form-text text-muted">現在は変更できません。</small>
 | 
			
		||||
            <small class="form-text text-muted">変更することはできません。</small>
 | 
			
		||||
        </div>
 | 
			
		||||
        <div class="from-group mt-3">
 | 
			
		||||
            <label for="email">メールアドレス</label>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user