I am using the new blaze-integration
branch of IR and have made the necessary changes for an existing application. I have in one of my templates a yield region:
<div>
{{> yield region='signup-detail'}}
</div>
I would like to set this region in a route configuration using yieldTemplates
. My route is configured like so:
this.route('signUpInfo', {
path: '/sign-up',
template: 'signUp-form',
yieldTemplates: _.extend({}, mainYieldTemplates, {
'information': {to: 'signup-detail'}
})
});
mainYieldTemplates = {
'footer': { to: 'footer' },
'header': {to: 'header'}
};
My template 'information' is not rendering into signup-detail
. Only happens with the new shark branch and IR blaze, has anything changed with Yield templates ?
The footer and header templates are set correctly.
EDIT: Template Layout
<template name="basicLayout">
{{> yield region='header'}}
<div class="container">
<div class="row">
<div class="col-md-12 col-centered padding-top-four-em">
{{> yield}}
</div>
</div>
<hr>
<footer>
{{> yield region='footer'}}
</footer>
</div>
</template>
EDIT 2: SignUp Form template
<template name="signUp-form">
<div class="col-md-12 signup-container">
{{>signUpSideBar}}
<div class="col-md-9 signup-content gray-border-box">
{{> yield region='signup-detail'}}
</div>
</div>
</template>
Note: The signUp-form template has a region signup-detail
. This is where my route signUpInfo
needs to render the information
template to that region. This used to work in IR before the blaze-integration.
action
to render my regions instead of theyieldTemplates
option now. I am trying to isolate the issue and see where things are wrong – Callipash