title: How do I dynamically insert tags in a jade file output using javascript?
body: <p>I'm making a small node.js express app with user logins. If user A connect, the page should show a button. If user B connect, the button shouldn't be there.</p>
  
  <p>I tried the following</p>
  
  <pre><code>#{hideOrNot}
  </code></pre>
  
  <p>Where hideOrNot is a variable in my js app that has the value</p>
  
  <pre><code>'button(type="submit")'
  </code></pre>
  
  <p>if A connects but simply '' if B connects.</p>
  
  <p>I guess it doesn't quite work that way in jade since it printed the text of the button tag instead of the actual button.</p>
  
  <p>How can I do this?</p>