backbone.js - Jade Template with Backbone/Marionette -
i'm trying render table using marionette compositeview/itemview , running issues jade template. table "shell" rendered correctly composite view template item view renders first table cell in tbody section. here have.
compositview template
div.span5 table.table.table-striped.table-condensed thead tr th.span2 th.span4 tbody
itemview template
td title td description
if add tr tag itemview template, both columns rendered. don't want because tr tag added itemview. ideas why second column doesn't rendered?
thanks!
i found alternative method solve issue. render tr tag in itemview template, not specifying itemview tagname property. in itemview onrender function, remove default div tag template wrapped in. maybe not ideal solution works need.
Comments
Post a Comment