1
0
Fork 0
pixelfed/resources/views/settings/home.blade.php

89 lines
3.4 KiB
PHP
Raw Normal View History

2018-05-26 22:39:32 +00:00
@extends('settings.template')
@section('section')
<div class="title">
<h3 class="font-weight-bold">Account Settings</h3>
</div>
<hr>
<form method="post">
@csrf
<div class="form-group row">
2018-06-01 03:25:18 +00:00
<label for="name" class="col-sm-3 col-form-label font-weight-bold text-right">Name</label>
2018-05-26 22:39:32 +00:00
<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">
2018-06-01 03:25:18 +00:00
<label for="name" class="col-sm-3 col-form-label font-weight-bold text-right">Username</label>
2018-05-26 22:39:32 +00:00
<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">
2018-06-01 03:25:18 +00:00
<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>
2018-05-26 22:39:32 +00:00
<div class="col-sm-9">
<input type="email" class="form-control" id="email" name="email" placeholder="Email Address" value="{{Auth::user()->email}}" readonly>
</div>
</div>
{{--<div class="form-group row">
<label for="inputPassword3" class="col-sm-3 col-form-label">Password</label>
<div class="col-sm-9">
<input type="password" class="form-control" id="inputPassword3" placeholder="Password">
</div>
</div>
<hr>
<fieldset class="form-group">
<div class="row">
<legend class="col-form-label col-sm-3 pt-0">Radios</legend>
<div class="col-sm-9">
<div class="form-check">
<input class="form-check-input" type="radio" name="gridRadios" id="gridRadios1" value="option1" checked>
<label class="form-check-label" for="gridRadios1">
First radio
</label>
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="gridRadios" id="gridRadios2" value="option2">
<label class="form-check-label" for="gridRadios2">
Second radio
</label>
</div>
<div class="form-check disabled">
<input class="form-check-input" type="radio" name="gridRadios" id="gridRadios3" value="option3" disabled>
<label class="form-check-label" for="gridRadios3">
Third disabled radio
</label>
</div>
</div>
</div>
</fieldset>
<div class="form-group row">
<div class="col-sm-3">Checkbox</div>
<div class="col-sm-9">
<div class="form-check">
<input class="form-check-input" type="checkbox" id="gridCheck1">
<label class="form-check-label" for="gridCheck1">
Example checkbox
</label>
</div>
</div>
</div>--}}
<hr>
<div class="form-group row">
<div class="col-sm-9">
<button type="submit" class="btn btn-primary">Submit</button>
</div>
</div>
</form>
@endsection