I have this code which takes the name into the "nm" variable
{% extends "base.html" %}
{% block title %}Search Page{% endblock %}
{% block content %}
<form action="#" method="post">
<p>User or Group:</p>
<p><input type="text" name="nm"/></p>
<p><input type="submit" value="submit"/></p>
</form>
{% endblock %}
I want to put this variable into a different html file which will show different things. Can anyone suggest me the most efficient way to make this happen?