Templates

<% template_rows.each do |template| %>

<%= template[0] %>

<% template[1].each do |call| %> <% end %>
Output
<%= call %>
<% end %>