datatable.directory codebase
https://datatable.directory/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
1.8 KiB
49 lines
1.8 KiB
7 years ago
|
{{-- Profile edit form --}}
|
||
|
|
||
|
@extends('layouts.app')
|
||
|
|
||
|
@section('content')
|
||
|
<div class="container">
|
||
|
<form method="POST" action="{{route('user.store')}}" class="row justify-content-center"
|
||
|
aria-label="Your Profile">
|
||
|
@csrf
|
||
|
|
||
|
<div class="col-md-10">
|
||
|
@php(Widget::setLayout(3, 7))
|
||
|
|
||
|
{!! Widget::header(1, 'Settings') !!}
|
||
|
|
||
|
{!! Widget::text('title', 'Display Name')->value($user->title)->required()->autofocus()
|
||
|
->help('Shown on your profile page, tables, comments, etc.') !!}
|
||
|
|
||
|
{!! Widget::textarea('bio', 'About Me')->value($user->bio)->required()->height('8em')
|
||
|
->help('This is shown in your profile box') !!}
|
||
|
|
||
|
{!! Widget::text('name', 'Username')->value($user->name)->required()
|
||
|
->prepend('@')
|
||
|
->help('Part of your vanity URL. Caution: changing this will alter URLs of your tables.') !!}
|
||
|
|
||
|
{!! Widget::email('email', 'E-Mail Address')->value($user->email)->required()
|
||
|
->help('Used to login and for password resets.
|
||
|
This field is protected; a change will be applied only after you confirm
|
||
|
the new e-mail address via a confirmation link we\'ll send you to it.') !!}
|
||
|
|
||
|
{!! Widget::header(3, 'Password Change') !!}
|
||
|
{!! Widget::par('Leave empty to keep your current password (if any).') !!}
|
||
|
|
||
|
{!! Widget::password('new_password', 'New Password') !!}
|
||
|
|
||
|
{!! Widget::password('new_password_confirmation', 'Confirm New Password') !!}
|
||
|
|
||
|
<div class="row form-group">
|
||
|
<div class="col-md-7 offset-md-3">
|
||
|
<button type="submit" class="btn btn-primary">
|
||
|
<i class="fa-save pr-2"></i>Apply Changes
|
||
|
</button>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</form>
|
||
|
</div>
|
||
|
@endsection
|