22 lines
903 B
HTML
22 lines
903 B
HTML
{% load bootstrap4 %}
|
|
<form action="" method="POST">{% csrf_token %}
|
|
<div class="form-row py-1">
|
|
{% with layout="inline" grp_cls="col" sz="small" %}
|
|
{% bootstrap_field form.created_date size=sz form_group_class=grp_cls layout=layout %}
|
|
{% bootstrap_field form.created_time size=sz form_group_class=grp_cls layout=layout %}
|
|
{% endwith %}
|
|
</div>
|
|
<div class="custom-control custom-checkbox">
|
|
<input type="checkbox" name="entrant" class="custom-control-input" id="id_entrant">
|
|
<label class="custom-control-label" for="id_entrant">Appel entrant ?</label>
|
|
</div>
|
|
<hr />
|
|
{% bootstrap_field form.sujet show_label=False %}
|
|
{% bootstrap_field form.text show_label=False %}
|
|
<div class="ml-auto">
|
|
{% bootstrap_button "Enregistrer l'appel" button_type="submit" button_class="btn-primary btn-sm btn-block" %}
|
|
</div>
|
|
</form>
|
|
{{ form.media.js }}{{ form.media.css }}
|
|
|