M
M
Mikalaj Mitsin2016-05-19 10:26:10
HTML
Mikalaj Mitsin, 2016-05-19 10:26:10

How to make function call from backend in tag attribute in Jade?

You need to write these attributes
type='text' placeholder='Name' name='_token', value=csrf_token()
The latter causes a compilation error, how to implement it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Gusev, 2016-05-19
@illi

in the jade template renderer, when passing data for rendering, you can also pass a function:
something like this

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question