files i forgot to add
This commit is contained in:
9
suivi/templates/suivi/appel_form.html
Normal file
9
suivi/templates/suivi/appel_form.html
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
|
||||||
|
<div class="panel panel-primary">
|
||||||
|
<div class="panel-heading">
|
||||||
|
<h4 class="panel-title">Enregistrer un appel</h4>
|
||||||
|
</div>
|
||||||
|
<div class="panel-body">
|
||||||
|
{% include "suivi/appel_form_inner.html" %}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
15
suivi/templates/suivi/appel_form_inner.html
Normal file
15
suivi/templates/suivi/appel_form_inner.html
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
{% load bootstrap3 %}
|
||||||
|
<form action="" method="POST">{% csrf_token %}
|
||||||
|
{% with "inline" as layout %}
|
||||||
|
<div class="form-group form-{{layout}} well col-md-10 col-md-offset-2">
|
||||||
|
{% bootstrap_field form.created_date layout=layout %}
|
||||||
|
{% bootstrap_field form.created_time layout=layout %}
|
||||||
|
{% bootstrap_field form.entrant layout=layout %}
|
||||||
|
</div> {% endwith %}
|
||||||
|
{% with "horizontal" as layout %}
|
||||||
|
<div class="form-group form-{{layout}}">
|
||||||
|
{% bootstrap_field form.sujet layout=layout %}
|
||||||
|
{% bootstrap_field form.text layout=layout %}
|
||||||
|
</div> {% endwith %}
|
||||||
|
<div class="pull-right">{% bootstrap_button "Enregistrer l'appel" button_type="submit" %}</div>
|
||||||
|
</form>
|
||||||
Reference in New Issue
Block a user