title: how to pass context value to specific input over the form.as_table in django template
body: <p>i need to pass value from my view to specific label in the my form.as_table
  in this case look at live output template i want assign t_v_a as context   to t_v_a as quittanceForm.as_table </p>
  
  <p>view.py</p>
  
  <pre><code>def Tva_Calculate(request):
  form_data=forms.QuittanceRegister(request.POST or None)
  t_v_a=0
  if form_data.is_valid():
      t_v_a=form_data.cleaned_data['loyer_acteul_411000']*9/100
  
  context ={
  
      'quittanceForm': form_data,
      't_v_a':t_v_a
  
  }
  return render(request,'quittance.html',context)
  </code></pre>
  
  <p>template.py</p>
  
  <pre><code> &lt;center&gt;
  &lt;form action="" method="POST"&gt;
      &lt;h1&gt;Register new Quittance&lt;/h1&gt;
      {% csrf_token %}
      &lt;table border="1"&gt;
  
             {{quittanceForm.as_table}} 
      &lt;/table&gt;
      &lt;button type="submit"&gt;Register now&lt;/button&gt;
      &lt;button type="submit"&gt;Calculate_tva&lt;/button&gt;
  &lt;/form&gt;
  {{t_v_a}}
  &lt;/center&gt;
  </code></pre>
  
  <p>live output template
       <a href="https://i.stack.imgur.com/w6FJL.png" rel="nofollow noreferrer">enter image description here</a> </p>