{% extends 'base_software.html' %} {% from 'host/common.html' import edit_field %} {% from 'host/common.html' import alert_duplicate %} {% if request.endpoint.endswith('edit') %} {% set isEdit = True %} {% else %} {% set isEdit = False %} {% endif %} {% block head %} {% endblock %} {% block main %}
{% if isEdit %}Edit Command Profile{% else %}Create Command Profile{% endif %} {{ alert_duplicate(form.profile_name.data, duplicate_error) }} {{ edit_field(form.profile_name, class="form-control") }} {{ edit_field(form.command_list, class="form-control", spellcheck="false", rows="10") }}
{% endblock %}