Roundup Tracker - Issues

Issue 2550820

classification
Need an easier way to add a class to multiline() or field() generated html.
Type: rfe Severity: normal
Components: Web interface Versions: 1.5
process
Status: new
:
: rouilj : rouilj
Priority: normal : Effort-Low

Created on 2013-10-11 02:20 by rouilj, last changed 2013-10-11 02:24 by rouilj.

Messages
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.
History
Date User Action Args
2013-10-11 02:24:26rouiljsettitle: 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:21rouiljcreate