Generates a set of valid HTML attributes.
Generates a set of valid HTML attributes.
For example:
toHtmlArgs(Seq('id -> "item", 'style -> "color:red"))
Uses the passed MessagesProvider to translates the given argument.
Uses the passed MessagesProvider to translates the given argument. If the argument is a raw html, it will translate its string representation and will then again return raw html. The argument to translate can also be a sequence that wraps a string or raw html. In this case every element of the sequence will be translated.
Defines a magic helper for Play templates.