17 lines
435 B
HTML
17 lines
435 B
HTML
|
|
{{< layout}}
|
||
|
|
{{$body}}
|
||
|
|
{{#post}}
|
||
|
|
<h1 class="text-3xl font-bold text-gray-900 mb-8">Edit Post</h1>
|
||
|
|
|
||
|
|
<form method="post" action="{{url:post:id}}">
|
||
|
|
<input type="hidden" name="http_method" value="patch">
|
||
|
|
{{> post_form}}
|
||
|
|
</form>
|
||
|
|
|
||
|
|
<a href="{{url:post:id}}" class="text-gray-500 hover:text-gray-700 mt-4 inline-block">
|
||
|
|
← Back to post
|
||
|
|
</a>
|
||
|
|
{{/post}}
|
||
|
|
{{/body}}
|
||
|
|
{{/layout}}
|