All is well now but i noticed that in my languages file for exampe pt.py
i have one key with all the html from my email_verification.html

is this ok?



2016-11-21 17:08 GMT+00:00 António Ramos <ramstei...@gmail.com>:

> oops... :)
>
> rewinding my head again to the top of the thread.
>
> Thank you Leonel...
>
> 2016-11-21 17:07 GMT+00:00 Leonel Câmara <leonelcam...@gmail.com>:
>
>> Ramos you need to escape the % in 100%
>>
>> This should work
>>
>> b="<html>\r\n<body>\r\n              <table >\r\n
>>  <tbody><tr >\r\n                  <td width='100%%'>\r\n
>> *%(a)s*\r\n                    \r\n</td>\r\n</tr>\r\n</tbody
>> >\r\n</table>\r\n</body>\r\n</html>"
>>
>> b % dict(a=1)
>>
>> --
>> 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.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to