add note form to maraudes dashboard, minor cleanups
This commit is contained in:
@@ -6,7 +6,10 @@
|
||||
{% bootstrap_field form.created_time size=sz form_group_class=grp_cls layout=layout %}
|
||||
{% endwith %}
|
||||
</div>
|
||||
{% bootstrap_field form.entrant size=sz%}
|
||||
<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 %}
|
||||
|
||||
10
notes/templates/notes/form_note_inner.html
Normal file
10
notes/templates/notes/form_note_inner.html
Normal file
@@ -0,0 +1,10 @@
|
||||
{% load bootstrap4 %}
|
||||
<form action="" method="POST">{% csrf_token %}
|
||||
{% bootstrap_field form.sujet show_label=False %}
|
||||
{% bootstrap_field form.text show_label=False %}
|
||||
<div class="ml-auto">
|
||||
{% bootstrap_button "Ajouter la note" button_type="submit" button_class="btn-primary btn-sm btn-block" %}
|
||||
</div>
|
||||
</form>
|
||||
{{ form.media.js }}{{ form.media.css }}
|
||||
|
||||
Reference in New Issue
Block a user