massive update
This commit is contained in:
48
templates/pages/add_location.html
Normal file
48
templates/pages/add_location.html
Normal file
@ -0,0 +1,48 @@
|
||||
{% 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="country">Страна</label>
|
||||
<input class="form-control" id="country" name="country" required type="text">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="city">Город</label>
|
||||
<input class="form-control" id="city" name="city" required type="text">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="street">Улица</label>
|
||||
<input class="form-control" id="street" name="street" required type="text">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="house">Здание</label>
|
||||
<input class="form-control" id="house" name="house" required type="text">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="room">Комната</label>
|
||||
<input class="form-control" id="room" name="room" 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