formatting.

pull/2281/head
Gordon Martin 2016-10-02 21:37:31 +01:00
parent 0dd43415a1
commit 21bf0f0324
1 changed files with 1 additions and 2 deletions

View File

@ -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>