T
T
Timur Yakhin2015-03-18 02:02:34
PHP
Timur Yakhin, 2015-03-18 02:02:34

How to correctly set variables in jade php attributes?

Hello.
How to correctly set variables in jade php attributes?
For example, in an element, register a variable like this:
a= $text
but in an attribute
a(href=$link)= $text
The second option does not work, how to correctly register it?
Thanks in advance.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question