code in home.html and similar code in home2.html
{% extends "debate_sample/content.html" %}
{% block content %}
<div class="#">
<p>for</p>
{% if all_items %}
{% for things in all_items %}<br/>
{{things.for_text}}
{% endfor %}
{% endif %}
<form class="form-inline my-2 my-lg-0" method="post">
{% csrf_token %}
<textarea name="for_text" rows="8" cols="80"></textarea>
<button type="submit" name="button">submit</button>
</form>
</div>
{% endblock %}
I am able to show the textarea and click on submit button but after clicking on submit button the text typed in textarea is not been shown below the textarea.
I have created model and model forms to write my code in views.