examples/blog/src/views/index.xhtml in nitro-0.13.0 vs examples/blog/src/views/index.xhtml in nitro-0.14.0

- old
+ new

@@ -1,10 +1,11 @@ <?xml version="1.0"?> <x:page xmlns:x="http://www.navel.gr/xml/shader.xsd"> <x:cell id="main"> +<?r cache('entries', :admin => session[:owner]) do ?> <?r if @entries for entry in @entries ?> <div class="entry"> @@ -31,9 +32,11 @@ <div class="pager"> #{@pager.navigation} <div class="clear">.</div> </div> +<?r end ?> + <?r if session[:owner] ?> <render href="entry_form" /> <?r end ?> </x:cell>