{% extends "base.html" %} {% block title %}Deploy Hosts File - /etc/hosts Manager{% endblock %} {% block content %} <h2>Deploy Hosts File: "{{ file.title }}"</h2> <form method="post"> <div class="form-group"> <label>Wybierz hosty do deploy:</label> {% for host in hosts %} <div class="form-check"> <input class="form-check-input" type="checkbox" name="hosts" value="{{ host.id }}" id="host{{ host.id }}"> <label class="form-check-label" for="host{{ host.id }}">{{ host.hostname }} ({{ host.type }})</label> </div> {% endfor %} </div> <button type="submit" class="btn btn-success">Deploy Hosts File</button> </form> {% endblock %}