Files
OSINT/templates/reports/edit.html
Iliyan Angelov ed94dd22dd update
2025-11-26 22:32:20 +02:00

74 lines
2.7 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{% extends 'base.html' %}
{% block title %}Редактиране на Доклад - Официален Портал{% endblock %}
{% block content %}
<div class="form-container">
<h2>Редактиране на Доклад</h2>
{% if object.status == 'rejected' %}
<div class="gov-alert gov-alert-warning" style="margin-bottom: 1.5rem;">
<div class="alert-icon"></div>
<div class="alert-content">
<strong>Този доклад е бил отхвърлен.</strong>
<p style="margin: 0.5rem 0 0 0;">След като направите промените, докладът ще бъде изпратен отново за преглед.</p>
</div>
</div>
{% else %}
<p class="form-description">Можете да редактирате доклади, които чакат преглед.</p>
{% endif %}
<form method="post" data-loading>
{% csrf_token %}
<div class="form-group">
<label for="id_title">Заглавие *</label>
{{ form.title }}
</div>
<div class="form-group">
<label for="id_description">Описание *</label>
{{ form.description }}
</div>
<div class="form-group">
<label for="id_scam_type">Вид Измама *</label>
{{ form.scam_type }}
</div>
<div class="form-row">
<div class="form-group">
<label for="id_reported_url">Докладван URL</label>
{{ form.reported_url }}
</div>
<div class="form-group">
<label for="id_reported_email">Докладван Имейл</label>
{{ form.reported_email }}
</div>
</div>
<div class="form-row">
<div class="form-group">
<label for="id_reported_phone">Докладван Телефон</label>
{{ form.reported_phone }}
</div>
<div class="form-group">
<label for="id_reported_company">Докладвана Фирма</label>
{{ form.reported_company }}
</div>
</div>
<div class="form-group">
<label for="id_tags">Етикети</label>
{{ form.tags }}
</div>
<div class="form-actions">
<button type="submit" class="btn btn-primary" data-tooltip="Промените ще бъдат запазени">Запазване на Промените</button>
<a href="{% url 'reports:my_reports' %}" class="btn btn-secondary">Отказ</a>
</div>
</form>
</div>
{% endblock %}