Answer the question
In order to leave comments, you need to log in
How to change the variable by input given by the template engine?
I pass a variable to html in this way using Jinja:
<h3>Себестоимость продаж: {{data.cost_of_sales}} </h3>
Answer the question
In order to leave comments, you need to log in
<form action="адрес обработчика" method="post">
<input type="text" name="cost" value="{{data.cost_of_sales}}">
</form>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question