Created
April 20, 2013 07:44
-
-
Save mattsah/5425151 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<% namespace Dotink\Inkwell\View { | |
/** | |
* | |
* @author Matthew J. Sahagian [mjs] <[email protected]> | |
* @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