Meteor: trying to add bootstrap classes with handlebars -


i'm trying toggle bootstrap has-success form validation state handlebars, so:

<!-- inside modal dialog --> <div class="form-group {{> paymentformamountvalidate}}">     <div class="col-xs-9">         <div class="input-group">             <input id="amount" name="amount" class="form-control paymentforminput"/>         </div>     </div> </div>  <template name="paymentformamountvalidate">     {{session "paymentformamountvalidate"}} </template> 

(i've removed irrelevant markup stuff).

i removed {{session}} helper different template because of advice given in this other question.

i know {{session}} helper returning right thing, 'has-success', because i've checked thoroughly.

here's form-group looks in elements (when copied html):

<div class="form-group &lt;!--label:fv2npkqemcjeeuj9p--&gt;">     ... </div> 

again, happening within modal, , that's suspect causing these problems.

thanks in advance!

when don't want text escaped, wrap triple {{{ }}}


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

android - Keyboard hides my half of edit-text and button below it even in scroll view -

css - Make div keyboard-scrollable in jQuery Mobile? -