Answer the question
In order to leave comments, you need to log in
How to put a condition in pug?
fieldset.claim-field.relative
span.absolute.top-5.left-5.-ml-px.h-full.bg-gray-200(class='w-0.5' aria-hidden='true')
.field-item
label.text-sm.text-gray-500(for='claim') Your claim number
input.required.claim(name='claim' type='number')
Answer the question
In order to leave comments, you need to log in
PUG does not know about runtime. You can only fulfill the conditions at the compilation stage, but it’s definitely jQuery that doesn’t work here.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question