I need to achieve the following :
<input type="text" name="montantHT{{ vente.id}}" value="{{ vente.montantHT }}" />
However, I dont want to work with normale html forms, but with Django forms, so if I have form like this :
class UpdateFacture(forms.Form):
montantHT=forms.Charfield()
and of course called in my view and passed on context as form
, so
how can I put it on my template so I can get the same html I mentionned at first, with name="montantHT{{ vente.id}}" value="{{ vente.montantHT }}"
Any Help please I've tried multipule syntaxes but cant get it as I want. Thank You