title: django how to catch a variable of a form in template
body: <p>I want to use feedback forms in my app. And I have FeedBack model and FeedBackForm form.</p>
  
  <h1>models.py:</h1>
  
  <pre><code>class Feedback(models.Model):
  name = models.CharField(max_length=150, blank=True)
  email = models.EmailField(blank=True)
  comment = RichTextField()
  </code></pre>
  
  <h1>forms.py:</h1>
  
  <pre><code>class FeedBackForm(forms.ModelForm):
  class Meta:
      model = Feedback
      fields = ('name', 'email', 'comment')
  </code></pre>
  
  <p>I used FeedBackForm in my views,py file</p>
  
  <h1>views.py</h1>
  
  <pre><code>def home(request):
  if request.method == 'POST':
      feedback_form = FeedBackForm(data=request.POST)
      if feedback_form.is_valid():
          feedback_form.save()
  else:
      feedback_form = FeedBackForm()
  return render(request, 'home.html', {'feedback_form': feedback_form})
  </code></pre>
  
  <p>Now my question is: how can I use my variables in template? Instead of this 3 input tags. (Is there another easier way other than</p>
  
  <pre><code>{{ feedbackform.as_p }}
  </code></pre>
  
  <p>and </p>
  
  <pre><code>{% csrf_token %}
  </code></pre>
  
  <p>to call my form variables "name", "email" and "comment" as input). Thanks in anvance</p>
  
  <pre><code>&lt;form action="." method="post"&gt;
      &lt;input type="text" name="name"&gt;
      &lt;input type="email" name="email"&gt;
      &lt;textarea name="comment"&gt;&lt;/textarea&gt;
  &lt;/form&gt;
  </code></pre>