@(repository: gitbucket.core.service.RepositoryService.RepositoryInfo, content: String, enableWikiLink: Boolean, enableRefsLink: Boolean, enableTaskList: Boolean, hasWritePermission: Boolean, style: String = "", styleClass: String = "", placeholder: String = "Leave a comment", elastic: Boolean = false, uid: Long = new java.util.Date().getTime())(implicit context: gitbucket.core.controller.Context) @import context._ @import gitbucket.core._ @import gitbucket.core.view.helpers._
@textarea = { @content } @if(enableWikiLink){ @textarea } else { @helper.html.attached(repository.owner, repository.name)(textarea) }