1
0
Fork 0

Update settings home view

This commit is contained in:
Daniel Supernault 2018-05-31 21:25:18 -06:00
parent 7f10f8caf3
commit 4b9dd1e312
1 changed files with 12 additions and 3 deletions

View File

@ -9,19 +9,28 @@
<form method="post">
@csrf
<div class="form-group row">
<label for="name" class="col-sm-3 col-form-label font-weight-bold">Name</label>
<label for="name" class="col-sm-3 col-form-label font-weight-bold text-right">Name</label>
<div class="col-sm-9">
<input type="text" class="form-control" id="name" name="name" placeholder="Your Name" value="{{Auth::user()->profile->name}}">
</div>
</div>
<div class="form-group row">
<label for="name" class="col-sm-3 col-form-label font-weight-bold">Username</label>
<label for="name" class="col-sm-3 col-form-label font-weight-bold text-right">Username</label>
<div class="col-sm-9">
<input type="text" class="form-control" id="name" name="username" placeholder="Username" value="{{Auth::user()->profile->username}}" readonly>
</div>
</div>
<div class="form-group row">
<label for="email" class="col-sm-3 col-form-label font-weight-bold">Email</label>
<label class="col-sm-3 col-form-label font-weight-bold text-right">Bio</label>
<div class="col-sm-9">
<textarea class="form-control" name="bio" placeholder="Add a bio here" rows="2">{{Auth::user()->profile->bio}}</textarea>
</div>
</div>
<div class="pt-5">
<p class="font-weight-bold text-muted text-center">Private Information</p>
</div>
<div class="form-group row">
<label for="email" class="col-sm-3 col-form-label font-weight-bold text-right">Email</label>
<div class="col-sm-9">
<input type="email" class="form-control" id="email" name="email" placeholder="Email Address" value="{{Auth::user()->email}}" readonly>
</div>