{% trans_default_domain 'content_report' %}
{% extends 'base_static.html.twig' %}
{% block title %}{{ 'page.title'|trans }}{% endblock %}
{% block content %}
{% form_theme form 'form_theme_outlined.html.twig' %}
<div class="content-report pb-3">
<div class="container">
<div class="row mb-4">
<div class="col-12">
<h4 class="nk-block-title text-center mb-4">{{ 'page.headline'|trans }}</h4>
<p class="text-center lead">
{{ 'page.hint'|trans }}
</p>
</div>
</div>
<div class="row mb-4">
<div class="col-12">
{{ form_start(form, {'attr': {'class': 'original-form-width form-light'}}) }}
<div class="wide-md mx-auto">
<div class="row mb-4">
<div class="col-md-8 offset-md-2">
{% include 'partials/flash_messages.html.twig' with {app: app, showAsGrowl: true} only %}
</div>
</div>
<div class="nk-block nk-block-lg">
<div class="card">
<div class="card-inner p-0">
<div class="row">
<div class="col-md-6">
{{ form_row(form.url) }}
</div>
<div class="col-md-6">
{{ form_row(form.type) }}
</div>
</div>
<div class="row">
<div class="col-md-12">
{{ form_row(form.text) }}
</div>
</div>
</div>
</div>
</div>
<div class="nk-block nk-block-lg">
<div class="nk-block-head">
<div class="nk-block-head-content">
<h4 class="title nk-block-title-group">{{ 'form.reporter' | trans }}</h4>
</div>
</div>
<div class="card">
<div class="card-inner p-0">
<div class="row">
<div class="col-md-6">
{{ form_row(form.reporter.stageName) }}
</div>
</div>
<div class="row">
<div class="col-md-6">
{{ form_row(form.reporter.firstName) }}
</div>
<div class="col-md-6">
{{ form_row(form.reporter.lastName) }}
</div>
</div>
<div class="row">
<div class="col-md-6">
{{ form_row(form.reporter.companyName) }}
</div>
<div class="col-md-6">
{{ form_row(form.reporter.commercialRegistrationNumber) }}
</div>
</div>
<div class="row">
<div class="col-md-6">
{{ form_row(form.reporter.email) }}
</div>
<div class="col-md-6">
{{ form_row(form.reporter.phone) }}
</div>
</div>
<div class="row">
<div class="col-md-8">
{{ form_row(form.reporter.address) }}
</div>
<div class="col-md-4">
{{ form_row(form.reporter.addressAdditional) }}
</div>
</div>
<div class="row">
<div class="col-md-4">
{{ form_row(form.reporter.zipCode) }}
</div>
<div class="col-md-4">
{{ form_row(form.reporter.city) }}
</div>
<div class="col-md-4">
{{ form_row(form.reporter.country, {attr: {'data-search': 'on'}}) }}
</div>
</div>
</div>
</div>
</div>
<div class="nk-block nk-block-lg">
<div class="nk-block-head">
<div class="nk-block-head-content">
<h4 class="title nk-block-title-group">{{ 'form.victim' | trans }}</h4>
</div>
</div>
<div class="card card-bordered">
<div class="card-inner pb-0 pt-4">
{{ form_row(form.reporterIsVictim) }}
</div>
</div>
<div class="card" id="victim">
<div class="card-inner p-0">
<div class="row">
<div class="col-md-6">
{{ form_row(form.victim.stageName) }}
</div>
</div>
<div class="row">
<div class="col-md-6">
{{ form_row(form.victim.firstName) }}
</div>
<div class="col-md-6">
{{ form_row(form.victim.lastName) }}
</div>
</div>
<div class="row">
<div class="col-md-6">
{{ form_row(form.victim.companyName) }}
</div>
<div class="col-md-6">
{{ form_row(form.victim.commercialRegistrationNumber) }}
</div>
</div>
<div class="row">
<div class="col-md-6">
{{ form_row(form.victim.email) }}
</div>
<div class="col-md-6">
{{ form_row(form.victim.phone) }}
</div>
</div>
<div class="row">
<div class="col-md-8">
{{ form_row(form.victim.address) }}
</div>
<div class="col-md-4">
{{ form_row(form.victim.addressAdditional) }}
</div>
</div>
<div class="row">
<div class="col-md-4">
{{ form_row(form.victim.zipCode) }}
</div>
<div class="col-md-4">
{{ form_row(form.victim.city) }}
</div>
<div class="col-md-4">
{{ form_row(form.victim.country) }}
</div>
</div>
</div>
</div>
</div>
<div class="nk-block nk-block-lg">
<div class="nk-block-head">
<div class="nk-block-head-content">
<h4 class="title nk-block-title-group">{{ 'form.confirm_statements' | trans }}</h4>
</div>
</div>
<div class="card card-bordered bg-light">
<div class="card-inner">
<div class="checkbox">
<div class="custom-control custom-checkbox">
{{ form_widget(form.authorized, {'attr': {'class': 'custom-control-input'}}) }}
<label class="custom-control-label fs-12px" for="content_report_authorized">
{% trans %}
form.authorized
{% endtrans %}
</label>
{% if form.children.authorized.vars.errors|length > 0 %}
{{ form_errors(form.authorized) }}
{% endif %}
</div>
</div>
</div>
</div>
</div>
<div class="nk-block nk-block-lg">
<div class="nk-block-head">
<div class="nk-block-head-content">
<h4 class="title nk-block-title-group">{{ 'form.signature_label' | trans }}</h4>
</div>
</div>
<div class="">
{{ form_row(form.signature) }}
</div>
</div>
<div class="nk-block nk-block-lg">
<div class="nk-block-head">
<div class="nk-block-head-content">
<h4 class="title nk-block-title">{{ 'form.email_notice' | trans }}</h4>
</div>
</div>
<div class="card card-preview">
<div class="card-inner text-center">
<button type="submit" class="btn btn-lg btn-primary">{{ 'form.button' | trans }}</button>
</div>
</div>
</div>
</div>
{{ form_end(form) }}
</div>
</div>
</div>
</div>
{% endblock %}