Using the default template engine (Etanni) you can put arbitrary Ruby
code in your views using the following two tags:
* #{}: evaluates the Ruby expression and displays the value
* <?r ?>: used for statements such as "if", loops, etc
In your case this means you can do something like the following:
<?r if session[:logged_in] ?>
<p>This will only be displayed if you are logged in.</p>
<?r end ?>
Yorick
> --
> You received this message because you are subscribed to the Google
> Groups "Ramaze" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/ramaze/-/sOj3wqRefiIJ.
> To post to this group, send email to ram...@googlegroups.com.
> To unsubscribe from this group, send email to
> ramaze+un...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/ramaze?hl=en.