Tweak user profile page

This commit is contained in:
Pig Fang 2019-12-22 16:38:42 +08:00
parent 8c8e7bbc23
commit 95d1ebe3ba
3 changed files with 2 additions and 2 deletions

View File

@ -133,7 +133,6 @@ profile:
nickname:
title: Change Nickname
empty: No nickname is set now.
rule: Whatever you like expect special characters
single: You're not allowed to update nickname, because we've bound your player with your account.
success: Nickname is successfully updated to :nickname

View File

@ -7,6 +7,7 @@
<div class="card-body">
<div class="form-group">
<input type="email" class="form-control" name="email" required
value="{{ user.email }}"
placeholder="{{ trans('user.profile.email.new') }}">
</div>
<div class="form-group">

View File

@ -7,7 +7,7 @@
<div class="card-body">
<div class="form-group">
<input type="text" class="form-control" name="nickname" required
placeholder="{{ trans('user.profile.nickname.rule') }}">
value="{{ user.nickname }}">
</div>
</div>
<div class="card-footer">