Skip to content

Instantly share code, notes, and snippets.

@zigzag
Created December 6, 2009 07:13
Show Gist options
  • Save zigzag/250111 to your computer and use it in GitHub Desktop.
Save zigzag/250111 to your computer and use it in GitHub Desktop.
Target DSL of TPIE
<% ... %>
<table border="1" cellspacing="5" cellpadding="5">
<tr><th>Info</th><th>Value</th></tr>
<tr><td>Client</td><td><%= customerName %></td></tr>
<tr><td>Project Name</td><td><%= name %></td></tr>
<tr><td>Description</td><td><%= desc %></td></tr>
</table>
<% ... %>
<h1>Employees</h1>
<table border="1" cellspacing="5" cellpadding="5">
<tr><th>Id</th><th>Name</th><th>Role</th><th>Start on</th></tr>
<% employees[]... %>
<tr><td><%= fuoid %></td><td><%= name %></td><td><%= role %></td><td><%= begin_date %></td></tr>
<b></b>
<% ...employees[] %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment