Provide template with block view


#1

Hey,

I have a simple view such as:

Foo = Ember.View.extend({
    template: Ember.Handlebars.compile('<div>FOo</div>')
})
Ember.Handlebars.helper('foo', Bootstrap.Foo)

In template:

{{#foo}
 HELLO
{{/foo}}

This code will render the Foo view with the ‘HELLO’ content and ignores the template, probably because the blocked content overrides the default template definition, but I’d like to provide a template and render the blocked content within that template, is it possible at all?

If not are there any other approaches to achieve that?

Thanks