Yes, the label can take an HTML helper -- but wouldn't it have been much
faster and easier to just try that rather than post a question about it? ;-)
On Monday, October 15, 2012 10:10:20 PM UTC-4, Don_X wrote:
>
> weheh !
>
> Thank you for your response ... but this is not what I am looking for !
>
> I know about what you suggested below .. this is how it is declared ..
> indeed !
>
> Now ... Can the label argument take an HTML helper of somekind, so if the
> translation of 'mylabel' happens and it is too long of an expression,
>
> a way to make it wrap, like in two lines or something !??? ...
>
> For example :
>
> db.define_table('mytable',
> Field(myfield, label=T('an expression in english'),
> )
>
> now .. the label says 'an expression in english'
>
> the same expression in another language happens to be almost twice the
> length shown above ! .. do you understand ? ..
> now .. how can that translated expression be wrapped a certain way ...
> within the label ... in order to occupy almost the same space without
> interrupting the table or the form it is shown on ??? ...
>
>
>
--