@(repository: gitbucket.core.service.RepositoryService.RepositoryInfo, content: String, enableWikiLink: Boolean, enableRefsLink: Boolean, enableLineBreaks: Boolean, enableTaskList: Boolean, hasWritePermission: Boolean, completionContext: String, style: String = "", styleClass: String = "", placeholder: String = "Leave a comment", elastic: Boolean = false, tabIndex: Int = -2, uid: Long = new java.util.Date().getTime())(implicit context: gitbucket.core.controller.Context) @import gitbucket.core.view.helpers
@textarea = { -2){ tabindex="@tabIndex"} @if(style.nonEmpty){ style="@style"} @if(styleClass.nonEmpty){ class="@styleClass" }>@content } @gitbucket.core.helper.html.attached( repository = repository, completionContext = completionContext, generateScript = !enableWikiLink )(textarea)