<section id="address" class="cdek column">
	<div class="row">
		<input id="location"
			class="identifier{% if session.buffer.delivery[account.buffer.delivery.company ?? session.buffer.delivery.company].location.identifier ?? session.buffer.delivery.location %} success{% endif %}"
			placeholder="{{ language.name == 'ru' ? 'Город' : 'location' }}" value="{{ 
				session.buffer.delivery[account.buffer.delivery.company ?? session.buffer.delivery.company].location.name 
					? session.buffer.delivery[account.buffer.delivery.company ?? session.buffer.delivery.company].location.name 
							~ ', ' 
							~ session.buffer.delivery[account.buffer.delivery.company ?? session.buffer.delivery.company].location.structure|reverse|join(', ')
					: session.buffer.delivery.location  }}" "
			onkeyup=" core.delivery.location(this)" oninput="core.delivery.location(this)" tabindex="6" />
	</div>
	<div class="row merged">
		<input id="street" {% if session.buffer.delivery[account.buffer.delivery.company ??
			session.buffer.delivery.company].street %} class="success" {% endif %}
			placeholder="{{ language.name == 'ru' ? 'Улица' : 'Street' }}"
			value="{{ session.buffer.delivery[account.buffer.delivery.company ?? session.buffer.delivery.company].street ?? session.buffer.delivery.street }}"
			onkeyup="core.delivery.street(this)" oninput="core.delivery.street(this)" tabindex="6" />
		<input id="apartament" class="{% if session.buffer.delivery[account.buffer.delivery.company ??
		session.buffer.delivery.company].apartament %} success{% endif %}{% if session.buffer.delivery[account.buffer.delivery.company ?? session.buffer.delivery.company].type != 'door' %} hidden{% endif %}"
			placeholder="{{ language.name == 'ru' ? 'Квартира' : 'Apartament' }}"
			value="{{ session.buffer.delivery[account.buffer.delivery.company ?? session.buffer.delivery.company].apartament ?? session.buffer.delivery.apartament }}"
			onkeyup="core.delivery.apartament(this)" oninput="core.delivery.apartament(this)" tabindex="6" />
	</div>
	<div id="map" class="rounded">
	</div>
</section>
