Note that there are some explanatory texts on larger screens.

plurals
  1. POJade + NodeJS: not rendered as desired
    primarykey
    data
    text
    <p>I'm using Bootstrap to style my website. I have the following snippet in my index.jade:</p> <pre><code>form.form-inline.pull-right(action='http://localhost:1337/authenticated', method='POST') input.input-small(type='text', placeholder='Email', name='emailInput') input.input-small(type='password', placeholder='Password', name='passwordInput') label.checkbox input(type='checkbox') Remember me button.btn(type='submit') Sign in </code></pre> <p>which renders to</p> <pre><code>&lt;form action="http://localhost:1337/authenticated" method="POST" class="form-inline pull-right"&gt; &lt;input type="text" placeholder="Email" name="emailInput" class="input-small"&gt;&lt;input type="password" placeholder="Password" name="passwordInput" class="input-small"&gt;&lt;label class="checkbox"&gt;&lt;input type="checkbox"&gt;&lt;/label&gt; &lt;button type="submit" class="btn"&gt;Sign in&lt;/button&gt; &lt;/form&gt; </code></pre> <p>but I need it to render as (note the tags, not the indentation) <strong>Edit:</strong> actually I need the same intendation and the "Remember me" showing up</p> <pre><code>&lt;form class="form-inline pull-right" action="http://localhost:1337/authenticated" method="POST"&gt; &lt;input type="text" class="input-small" placeholder="Email" name="emailInput"&gt; &lt;input type="password" class="input-small" placeholder="Password" name="passwordInput"&gt; &lt;label class="checkbox"&gt; &lt;input type="checkbox"&gt; Remember me &lt;/label&gt; &lt;button type="submit" class="btn"&gt;Sign in&lt;/button&gt; &lt;/form&gt; </code></pre> <p>How can I fix that? Does Jade not recognize the "label" element? <strong>Edit:</strong> forget about the "label" element, this is correct.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload