Hi. You'll need to add html for formating in the view. You can also add the XML helper if you want to have html code in the post. Like:
{{for post in posts:}} <div> <h1>{{=post.titel}}</h1> <p>{{=post.time}}</p> <p>{{=XML(post.post)}}</p> </div> {{pass}} regards mmlado On Saturday 25 April 2009 13:02:42 Pynthon wrote: > Hmm my posts were deleted. However, this is with profiles right? I > just want a plain login/logout system :$. And is there also something > like an editor. Because when I type my posts now I can't use enters > because everything is escaped. And the for loop does not work: > > {{for post in posts:}} > {{=post.titel}} > > {{=post.time}} > > {{=post.post}} > {{pass}} > > When I do this I get: > > Web2Py 2009-04-25 12:19:05 Welcome to my new blog. This blog isn't PHP > but just Web2Py a Python web framework. Its really easy and simple. I > only need a new style without this green stuff. ~ Phant Welcome > 2009-04-25 12:10:00 Welcome Hello World! 2009-04-25 12:04:59 For The > Lulz! My Boy 2009-04-25 12:00:53 Hello > > Everything is just set together, how can I fix this? > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---