I have created a form in a template in my Django project. Using Django widget tweaks, I customize my template form and now i wanted to add an attribute name = "Total" in my customized form.
Html code:
{% render_field form.amount placeholder=form.amount.label class="stylefordate" name="total" %}
When I tried this, I couldn't able to get the value of name. Can someone please help me doing this?