mirror of https://github.com/MISP/misp-modules
42 lines
1.2 KiB
HTML
42 lines
1.2 KiB
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>
|
|
<div class="row">
|
|
<div class="mb-3 w-50">
|
|
{{form.api_key.label(class_="col-form-label")}}:
|
|
{{form.api_key(class_="form-control")}}
|
|
{% if form.api_key.errors %}
|
|
<div style="color: red;">{{form.api_key.errors[0] | safe}}</div>
|
|
{%endif%}
|
|
</div>
|
|
</div>
|
|
|
|
{{form.submit(class='btn btn-primary')}}
|
|
</form>
|
|
{% endblock %}
|