16 lines
447 B
HTML
16 lines
447 B
HTML
@(form: Form[_], q: lila.qa.Question, tags: List[String], popular: List[lila.qa.Question])(implicit ctx: Context)
|
|
|
|
@title = @{ s"""Edit question "${q.title}"""" }
|
|
|
|
@layout(
|
|
title = title,
|
|
goodies = popularBox(popular).some) {
|
|
|
|
<h1>@title</h1>
|
|
|
|
<form class="wide question" action="@routes.QaQuestion.doEdit(q.id)" method="post">
|
|
@questionForm(form, tags)
|
|
<button type="submit" class="pure submit button">Update your question</button>
|
|
</form>
|
|
}
|