Hello! I want to generate this code with Volt:
<input type="submit" value="Add" class="btn btn-primary btn-sm" onclick="oddCheck('cost')" />
I write this code:
{{ submit_button("Добавить","class":"btn btn-primary btn-sm","onclick":"oddCheck('cost')") }}
but I get
<input type="submit" value="Добавить" class="btn btn-primary btn-sm" onclick="oddCheck('cost')" />
Please, tell me how to transfer a string parameter to the function.