{% extends "base.html" %} {% block body %} {% from "_formhelpers.html" import render_field %}

{{ _("New fingerprint") }}

{% if form.errors %}
{{_("There was some errors when proccesing a form.")}}
    {% for field, errors in form.errors.items() %}
  • {{field}}:
      {% for error in errors %}
    • {{error}}
    • {% endfor %}
  • {% endfor %}
{% endif %}
{{form.hostname(class_="form-control input-sm check-signature", **{'placeholder': _('Domain'), 'data-toggle':"popover", 'data-trigger':"focus ", 'data-fingerprint-url': url_for('fingerprint.index.check_hostname_fingerprint'), 'data-fingerprint-add-url': url_for('fingerprint.index.add_hostname_fingerprint'), 'data-gitlab-url': config['GITLAB_URL'], 'data-placement': "bottom", 'data-content': '
'.join(form.hostname.errors)})}}
{{ form.csrf_token }}
{% endblock %}