fixed the config forms not working (controler needed update)
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
{{-- Profile edit form --}}
|
||||
|
||||
@extends('layouts.app')
|
||||
|
||||
@section('content')
|
||||
<form method="POST" action="{{route('profile.store')}}" class="row justify-content-center"
|
||||
aria-label="Your Profile">
|
||||
@csrf
|
||||
|
||||
<div class="col-md-10">
|
||||
@php(Widget::setLayout(3, 7))
|
||||
|
||||
{!! Widget::header(1, 'Your Profile') !!}
|
||||
{!! Widget::par('
|
||||
Username can be changed on the
|
||||
<a href="'.e(route('account.edit')).'">account settings</a> page.
|
||||
', 'text-muted', false) !!}
|
||||
|
||||
{!! 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)->height('8em')
|
||||
->help('This is shown in your profile box') !!}
|
||||
|
||||
{!! Widget::text('website', 'Website')->value($user->website)->prepend('<i class="fa-globe"></i>')
|
||||
->help('Custom clickable link shown on your profile page.') !!}
|
||||
|
||||
<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>Save Changes
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
@endsection
|
||||
Reference in New Issue
Block a user