Files
findings/templates/create_finding.html
usernames122 877a246134 first commit
2025-08-10 23:42:02 +02:00

23 lines
786 B
HTML

{% extends "base.html" %}
{% block title %}Create Finding{% endblock %}
{% block content %}
<h2>Create a New Finding</h2>
<form method="post" action="{{ url_for('findings.create_finding') }}">
<div class="form-group">
<label for="path">Path (on laminax.org, optional if lorekey is provided)</label>
<input id="path" name="path" class="form-control" type="text" value="{{ path or '' }}">
<small class="form-text text-muted">Example: some/path/here</small>
</div>
<div class="form-group">
<label for="lorekey">Lorekey</label>
<input id="lorekey" name="lorekey" class="form-control" type="text" value="{{ lorekey or '' }}">
</div>
<button type="submit" class="btn btn-primary">Create Finding</button>
</form>
{% endblock %}