Issue 2550820
Created on 2013-10-11 02:20 by rouilj, last changed 2013-10-11 02:24 by rouilj.
msg4936 |
Author: [hidden] (rouilj) |
Date: 2013-10-11 02:20 |
|
If you try:
multiline(class="someclass")
it throws an error. (I assume because class is a reserved word).
While using:
multiline(**{'class':'someclass'})
works, this is not something a normal user is going to be familiar
with.
I suggest adding a 'klass' argument to both functions that then
maps it's value to class to set classes for these two functions.
Quips, comments evasions?
the "klass" variable to the argument list and map that to
class internally.
|
|
Date |
User |
Action |
Args |
2013-10-11 02:24:26 | rouilj | set | title: NEed an easier way to add a class to multiline() or field() generated html. -> Need an easier way to add a class to multiline() or field() generated html. |
2013-10-11 02:20:21 | rouilj | create | |
|