{% extends "layout.html" %}
{% block title %}Search new API call{% endblock %}
{% block body %}
  <h2>Submit URL</h2>
  <form action="" method=post>
    {% if error %}
      <p class=error><strong>Error:</strong> {{ error }}
    {% endif %}
    <p>URL:
      <input type=text name=url value="{{ url }}" class=urlinput>
      <input type=submit value="search">
  </form>
  {% if resp %}
  	<div>
  		<h1>Response:</h1>
  		{{ resp }}
  	</div>
  {% endif %}
{% endblock %}
{% extends "layout.html" %}
{% block title %}Search new API call{% endblock %}
{% block body %}
  <h2>Submit URL</h2>
  <form action="" method=post>
    {% if error %}
      <p class=error><strong>Error:</strong> {{ error }}
    {% endif %}
    <p>URL:
      <input type=text name=url value="{{ url }}" class=urlinput>
      <input type=submit value="search">
  </form>
  {% if redis %}
  	<p>Value retrieved from REDIS</p>
  {% endif %}
  {% if resp %}
  	<div>
  		<h1>Response:</h1>
  		{{ resp }}
  	</div>
  {% endif %}
{% endblock %}
Add info message about REDIS in the main template
Add info message about REDIS in the main template
