Switch bio to be stored in database
This commit is contained in:
parent
f51a740858
commit
bdb69df52d
14 changed files with 219 additions and 38 deletions
19
resources/views/admin/bio/show.blade.php
Normal file
19
resources/views/admin/bio/show.blade.php
Normal file
|
@ -0,0 +1,19 @@
|
|||
@extends('master')
|
||||
|
||||
@section('title')Edit Bio « Admin CP « @stop
|
||||
|
||||
@section('content')
|
||||
<h1>Edit bio</h1>
|
||||
<form action="/admin/bio" method="post" accept-charset="utf-8" class="admin-form form">
|
||||
{{ csrf_field() }}
|
||||
{{ method_field('PUT') }}
|
||||
<div>
|
||||
<label for="content">Content:</label>
|
||||
<br>
|
||||
<textarea name="content" id="content" rows="10" cols="50">{{ old('content', $bioEntry?->content) }}</textarea>
|
||||
</div>
|
||||
<div>
|
||||
<button type="submit" name="save">Save</button>
|
||||
</div>
|
||||
</form>
|
||||
@stop
|
Loading…
Add table
Add a link
Reference in a new issue