{% extends 'base.html' %}

{% block main %}
<div class="container">
  <h1 class="page-header">Instances</h1>
<p>All instances, that are using this library</p>

<table style="width:100%">

<!--
<td>  {% for stack in stacks %}

      <li><a href="{{url_for('show_stack_by_id', id=stack.id)}}">{{ stack.stack_name }}</a>  </li>

      {% endfor %}
</td>


</table>
-->

  <ul>
{% for instance in instances %}

    <li>{{ instance.name }} / {{ instance.ip }}</li>
    <form method="post">
  <input id="{{ instance.name }}"  type="text" name="{{ instance.name }}"><br>
  <input type="submit" value="rename">
</form>

  {% endfor %}
  </ul>


</div>

{% endblock %}
