34 lines
1.4 KiB
HTML
34 lines
1.4 KiB
HTML
{% extends 'base.html' %}
|
|
|
|
{% block title %}Отхвърляне на Автоматичен Доклад{% endblock %}
|
|
|
|
{% block content %}
|
|
<div class="form-container">
|
|
<h2>Отхвърляне на Автоматичен Доклад</h2>
|
|
|
|
<div class="gov-card" style="margin-bottom: 2rem;">
|
|
<h3>{{ object.title }}</h3>
|
|
<p><strong>Източник:</strong> <a href="{{ object.source_url }}" target="_blank" rel="noopener">{{ object.source_url }}</a></p>
|
|
<p><strong>Увереност:</strong> {{ object.confidence_score }}%</p>
|
|
<div style="background: var(--gov-light); padding: 1rem; border-radius: 6px; margin-top: 1rem;">
|
|
{{ object.description|truncatewords:100 }}
|
|
</div>
|
|
</div>
|
|
|
|
<form method="post">
|
|
{% csrf_token %}
|
|
<div class="form-group">
|
|
<label for="review_notes">Причина за Отхвърляне (по избор):</label>
|
|
<textarea name="review_notes" id="review_notes" class="form-control" rows="4"
|
|
placeholder="Обяснете защо отхвърляте този доклад..."></textarea>
|
|
</div>
|
|
|
|
<div class="form-actions">
|
|
<button type="submit" class="btn btn-danger">Отхвърли</button>
|
|
<a href="{% url 'osint:auto_report_detail' object.pk %}" class="btn btn-secondary">Отказ</a>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
{% endblock %}
|
|
|