{% extends 'commands.html' %} {% import "bootstrap/wtf.html" as wtf %} {% block content %} {% set ip_list = form.ips.data.split(' ') %} {% set ip_count = ip_list | length %}

Changing boot mode of {{ip_count}} {%if ip_count > 1%}computers{% else %}computer{% endif %}

{{ wtf.quick_form(form, action=url_for('action_mode'), method='post', button_map={'ok': 'primary'}, extra_classes="m-5") }} {% endblock %}