Merge branch 'master' of github.com:ornicar/lila
* 'master' of github.com:ornicar/lila: fix errMsg with multiple errorspull/5150/head
commit
17e67bd121
|
@ -17,7 +17,7 @@ trait FormHelper { self: I18nHelper =>
|
|||
p(cls := "error")(transKey(error.message, I18nDb.Site, error.args))
|
||||
|
||||
def errMsg(errors: Seq[FormError])(implicit ctx: Context): Frag =
|
||||
errors map errMsg mkString
|
||||
errors map errMsg
|
||||
|
||||
def globalError(form: Form[_])(implicit ctx: Context): Option[Frag] =
|
||||
form.globalError map errMsg
|
||||
|
|
Loading…
Reference in New Issue