{% extends 'base.html' %}
{% block container %}
<form action="" method="post">
  {% csrf_token %}
  <table>
    {{ form2 }}
  </table>
    <input type="submit" value="random create">
</form>
{% if ips_listr %}
    <ul>
    {% for ips2 in ips_listr %}
        <li>{{ ips2.inet2 }} {{ ips2.inet2_name}} {{ ips2.inet2_descrip }} </li>
    {% endfor %}
    </ul>
{% else %}
    <p>No registered IP.</p>
{% endif %}
{% endblock %}
