{% load i18n %}
<form id="detach_port_form" class="form-detach" method="post">
  {% csrf_token %}
  {% for hidden in form.hidden_fields %}
    {{ hidden }}
  {% endfor %}
  <input name="network" type="hidden" value="{{ network.id }}" />
  <input name="port" type="hidden" value="{{ port.id }}" />
  <input title="Detach port from instance" id="detach_{{ port.id }}" class="btn pull-right small detach" type="submit" value="{% trans "Detach" %}" />
</form>
