misp-modules/website/app/templates/external_tools/add_external_tool.html

33 lines
875 B
HTML

<!--
Author: David Cruciani
-->
{% extends 'base.html' %}
{% block content %}
<form action="" method="post">
{{ form.hidden_tag() }}
<h2>Add External tool</h2>
<hr>
<div class="row">
<div class="mb-3 w-50">
{{form.name.label(class_="col-form-label")}}:
{{form.name(class_="form-control")}}
{% if form.name.errors %}
<div style="color: red;">{{form.name.errors[0] | safe}}</div>
{%endif%}
</div>
<div class="mb-3 w-50">
{{form.url.label(class_="col-form-label")}}:
{{form.url(class_="form-control")}}
{% if form.url.errors %}
<div style="color: red;">{{form.url.errors[0] | safe}}</div>
{%endif%}
</div>
</div>
{{form.submit(class='btn btn-primary')}}
</form>
{% endblock %}