{% extends 'base.html.twig' %}

{% block title %}Broadcast{% endblock %}



{% block content %}

<!-- az-header -->
<div class="az-content">
    <div class="container">
        <div class="az-content-body d-flex flex-column">

            <div class="az-content-breadcrumb">
                <span>Broadcast</span>
                <span>Nouvelle de diffusion</span>
            </div>
            <h2 class="az-content-title">Nouvelle de diffusion</h2>
            <p class="mg-b-20">{{ investigation.getNameEn() }}</p>

            <hr>
            <div class="card">
                <div class="card-body">
                    {{ form_start(form) }}
   
                        <h3 >Cost: 150 DT</h3> 
                    
                        <br>
                        <div class="row mb-4">
                            <div class="col-md-5">
                                <div class="form-group row">
                                    <label class="control-label col-sm-3 align-self-center mb-0" for="{{ form.date_start.vars.id }}">{{ form_label(form.date_start) }}:</label>
                                    <div class="col-sm-5">
                                        {{ form_widget(form.date_start, {'attr': {'class': 'form-control', 'placeholder': 'Visible pour les participants' }}) }}
                                    </div>
                                </div>
                            </div>
                            <div class="col-md-5">
                                <div class="form-group row">
                                    <label class="control-label col-sm-3 align-self-center mb-0" for="{{ form.date_end.vars.id }}">{{ form_label(form.date_end) }}:</label>
                                    <div class="col-sm-5">
                                        {{ form_widget(form.date_end, {'attr': {'class': 'form-control', 'placeholder': 'Visible pour les participants' }}) }}
                                    </div>
                                </div>
                            </div>
                        </div>
                        
                        <div class="form-group form-check">
                            {{ form_widget(form.notification_email) }}
                        </div>

                        <div class="form-group form-check mb-5">
                            {{ form_widget(form.notification_sms) }}
                        </div>

                        {{ form_row(form.save, {'attr': {'class': 'btn btn-success btn-lg rounded-pill save-question' }}) }}

                    {{ form_end(form) }}
                </div>
            </div>
              
            





        </div>
    </div>
</div>

{% endblock %}