Skip to content

Instantly share code, notes, and snippets.

@mattsah
Created April 20, 2013 07:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mattsah/5425151 to your computer and use it in GitHub Desktop.
Save mattsah/5425151 to your computer and use it in GitHub Desktop.
<% namespace Dotink\Inkwell\View {
/**
*
* @author Matthew J. Sahagian [mjs] <msahagian@dotink.org>
* @param $users The array of users
* @param
*/
if ($this['wtf'] == 'test'):
$this->head->script('js', 'scripts/jquery.js');
$this->head->styles('common', 'styles/inkling.css');
else:
endif
%>
<div>
<% $this->each('users', function($user, $i) { %>
<div class="user">
<h2><%= e($user->getName()) %></h2>
</div>
<% }); %>
</div>
<%
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment