Cool.
That actually works!
Regards

On Thu, Jan 28, 2021, 17:25 Massimiliano <mbelle...@gmail.com> wrote:

> {{ post.author.first_name.title() }} ... etc..
>  should work
>
> Il giorno gio 28 gen 2021 alle ore 14:05 Maurice Waka <
> mauricew...@gmail.com> ha scritto:
>
>> Hello,
>> How do i use title() or capitalize() on these:
>> {{"%(first_name)s %(last_name)s (%(nickname)s)" % post.author}}
>>
>> I tried e.g.
>>
>> %(first_name.title())s
>> %(first_name).title()s
>>
>> None working
>> Please help
>>
>> --
>> Resources:
>> - http://web2py.com
>> - http://web2py.com/book (Documentation)
>> - http://github.com/web2py/web2py (Source code)
>> - https://code.google.com/p/web2py/issues/list (Report Issues)
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "web2py-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to web2py+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/web2py/2d456e41-65b8-46d2-bcba-29f72be606aan%40googlegroups.com
>> <https://groups.google.com/d/msgid/web2py/2d456e41-65b8-46d2-bcba-29f72be606aan%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>
>
> --
> Massimiliano
>
> --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> - http://github.com/web2py/web2py (Source code)
> - https://code.google.com/p/web2py/issues/list (Report Issues)
> ---
> You received this message because you are subscribed to the Google Groups
> "web2py-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to web2py+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/web2py/CANPTPxLSY-PWNwRku8MOAS009FS4A-YV9vOVNGZ%3DUqJ19oaiGQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/web2py/CANPTPxLSY-PWNwRku8MOAS009FS4A-YV9vOVNGZ%3DUqJ19oaiGQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/CALkNK55zCYrw1gW-pOnWt__GsR5gtQUeAzGbPO63Vb3wd13%2BXw%40mail.gmail.com.

Reply via email to