Skip to content

Instantly share code, notes, and snippets.

@deedubs
Created November 23, 2010 17:22
Show Gist options
  • Save deedubs/712135 to your computer and use it in GitHub Desktop.
Save deedubs/712135 to your computer and use it in GitHub Desktop.
(function(){
window.TMPL = window.TMPL || {};
window.TMPL['application/item'] = Haml('%strong=application.get(\'name\')');
window.TMPL['application/list_item'] = Haml('= application.get(\'name\')');
window.TMPL['application/manage'] = Haml('%h1 Manage your Applications%ul.commands %li %a{href:"#manage/applications/new"} Add an Application%h2 Applications%ul.applications');
window.TMPL['application/new'] = Haml('%h1 New Application%form %fieldset %input{name:"application[name]"} %button{type:"submit"} Create Application');
window.TMPL['application/selector_item'] = Haml('%strong= application.get(\'name\')');
window.TMPL['event/index'] = Haml('%h1 Event Feed%h2 Events%ul.events');
window.TMPL['event/item'] = Haml('%h3 = event_item.get(\'type\')%h4 = event_item.get(\'time\')%p = event_item.get(\'description\')');
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment