You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and dots ('.'), can be up to 35 characters long. Letters must be lowercase.
 
 
 
 

12 lines
614 B

<dialog id="modal-update" modal-disable>
<button class="close-modal">Cancel</button>
<form class="update-form">
@csrf
<p>Title</p><input name="title" type="text" value="{{ old('title') ? old('title') : $blog->title }}">
<p>Epilog</p><textarea name="epilog" type="text">{{ old('epilog') ? old('epilog') : $blog->epilog }}</textarea>
<p>Content</p><textarea name="containt" type="text">{{ old('containt') ? old('containt') : $blog->containt }}</textarea>
<br>
<button class="btn btn-blog-update" data-id="{{$blog->id}}">Update</button>
</form>
</dialog>