Sha256: 6e7b4f643c47549ace7e48e8f9ded14e6cbf04f13585ec263de7c2bf8605a402

Contents?: true

Size: 480 Bytes

Versions: 1

Compression:

Stored size: 480 Bytes

Contents

<?xml version="1.0"?>

<root 
	xmlns:x="http://www.navel.gr/xml/shader.xsd"
	xmlns:xl="http://www.w3.org/1999/xlink">
	
<?r
	article = Article[request["oid"]]
?>

<x:page> 

<?r	if article ?>
	<h4>#{article.title}</h4>
	<i>#{N::TimeUtils.date_time(article.create_time)}</i>
	<p>
		#{article.body}
	</p>
<?r	end ?>

<h3>Comments</h3>

<!-- include at run time (dynamic include) -->
<?r request[:comments_parent] = article ?>
<x:include xl:href="comments.si" />

</x:page>

</root>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
nitro-0.3.0 examples/simple/root/view-article.sx