massive update
This commit is contained in:
32
templates/pages/add_phone.html
Normal file
32
templates/pages/add_phone.html
Normal file
@ -0,0 +1,32 @@
|
||||
{% extends 'base.html' %}
|
||||
{% block content %}
|
||||
<div class="container">
|
||||
<h3>Добавить телефон</h3>
|
||||
<form method="post">
|
||||
<div class="form-group">
|
||||
<label for="con_id">Телефон для</label>
|
||||
<select class="form-control" id="con_id" name="con_id" required>
|
||||
{% for item in enterprises %}
|
||||
<option value="{{ item.contact_info.id }}">Предприятие "{{ item.contact_info.name }}"</option>
|
||||
{% endfor %}
|
||||
{% for item in divisions %}
|
||||
<option value="{{ item.contact_info.id }}">Подразделение "{{ item.contact_info.name }}"</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="phone">Телефон</label>
|
||||
<input class="form-control" id="phone" name="phone" required type="text">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="date_start">Дата назначения</label>
|
||||
<input class="form-control" id="date_start" name="date_start" required type="date">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="date_end">Дата снятия</label>
|
||||
<input class="form-control" id="date_end" name="date_end" type="date">
|
||||
</div>
|
||||
<button type="submit" class="btn btn-primary">Отправить</button>
|
||||
</form>
|
||||
</div>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user