files i forgot to add

This commit is contained in:
Arthur Gerbaud
2016-08-17 18:20:33 +02:00
parent d0a74735f1
commit 568550f76b
2 changed files with 24 additions and 0 deletions

View 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>

View 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>