formatting.
parent
0dd43415a1
commit
21bf0f0324
|
@ -60,8 +60,7 @@ description = shorten(posts.currentPageResults.headOption.??(_.text).replace("\n
|
|||
<p class="message">@autoLink(post.text)</p>
|
||||
@if(ctx.userId.fold(false)(post.shouldShowEditForm(_))) {
|
||||
<form class="edit-post-form" method="post" action="@routes.ForumPost.edit(post.id)">
|
||||
<textarea data-topic="@topic.id" name="changes" class="post-text-area edit-post-box" minlength="3" required>@post.text
|
||||
</textarea>
|
||||
<textarea data-topic="@topic.id" name="changes" class="post-text-area edit-post-box" minlength="3" required>@post.text</textarea>
|
||||
<div class="edit-buttons">
|
||||
<a class="edit-post-cancel" href="@routes.ForumPost.redirect(post.id)" style="margin-left:20px">@trans.cancel()</a>
|
||||
<button type="submit" class="submit button">@trans.apply()</button>
|
||||
|
|
Loading…
Reference in New Issue