F
F
FlapJalc2019-01-09 13:47:11
Pug
FlapJalc, 2019-01-09 13:47:11

How to display checkbox before label value in loop?

How can I, with such a loop organization, display a checkbox before the value #{item.title}?

each item in jsons.checks.checksData
  label.check__label #{item.title}
     input(type="checkbox").check__input

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
alex, 2019-01-09
@FlapJalc

each item in jsons.checks.checksData
  label.check__label
     input(type="checkbox").check__input
     |#{item.title}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question