2025-08-22 17:52:16 -05:00

20 lines
540 B
HTML

{include "layout.html"}
{block "content"}
<h2 class="mb-1">Forum</h2>
<form action="/forum/new" method="post" class="standard">
{csrf}
<div class="mb-1">
<div class="mb-025"><input type="text" class="text w-full" placeholder="Thread title" name="title"></div>
<textarea class="forum-text w-full" placeholder="Type your message here!" name="content"></textarea>
</div>
<div>
<button type="submit" class="btn btn-primary">Post</button>
<a href="/forum"><button class="btn">Back to Forums</button></a>
</div>
</form>
{/block}