Skip to content

Instantly share code, notes, and snippets.

@skizzybiz
Created May 6, 2011 21:50
Show Gist options
  • Save skizzybiz/959858 to your computer and use it in GitHub Desktop.
Save skizzybiz/959858 to your computer and use it in GitHub Desktop.
MT.ReportTemplateContainerView = SC.ContainerView.extend({
contentView: SC.TemplateView.extend({
itemBinding: 'MT.reportTemplates.selectedItem',
templateName: 'report_template_show'
}),
editView: SC.TemplateView.extend({
itemBinding: 'MT.reportTemplates.selectedItem',
templateName: 'report_template_edit'
})
});
{{view MT.ReportTemplateContainerView}}
<div id="sc457" class="sc-view sc-container-view"></div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment