</label>
</div>
{/foreach}
</div>
</div>
</div>
<div class="col-12 col-md-6">
<h4>{'ms2_frontend_address' | lexicon}:</h4>
{foreach ['index','region','city', 'street', 'building', 'entrance','floor', 'room'] as $field}
<div class="form-group row input-parent">
<label class="col-md-4 col-form-label" for="{$field}">
{('ms2_frontend_' ~ $field) | lexicon} <span class="required-star">*</span>
</label>
<div class="col-md-8">
<input type="text" id="{$field}" placeholder="{('ms2_frontend_' ~ $field) | lexicon}"
name="{$field}" value="{$form[$field]}"
class="form-control{($field in list $errors) ? ' error' : ''}">
</div>
</div>
{/foreach}
<div class="form-group row input-parent">
<label class="col-md-4 col-form-label" for="text_address">
{'ms2_frontend_text_address' | lexicon} <span class="required-star">*</span>
</label>
<div class="col-md-8">
<textarea name="text_address" id="text_address" placeholder="{'ms2_frontend_text_address' | lexicon}"
class="form-control{('text_address' in list $errors) ? ' error' : ''}">{$form.text_address}</textarea>
</div>
</div>
</div>
</div>
<button type="button" name="ms2_action" value="order/clean" class="btn btn-danger ms2_link">
{'ms2_frontend_order_cancel' | lexicon}
</button>
<hr class="mt-4 mb-4"/>
<div class="d-flex flex-column flex-md-row align-items-center justify-content-center justify-content-md-end mb-5">
<h4 class="mb-md-0">{'ms2_frontend_order_cost' | lexicon}:</h4>
<h3 class="mb-md-0 ml-md-2">
<span id="ms2_order_cart_cost">{$order.cart_cost ?: 0}</span> {'ms2_frontend_currency' | lexicon} +
<span id="ms2_order_delivery_cost">{$order.delivery_cost ?: 0}</span> {'ms2_frontend_currency' | lexicon} =
<span id="ms2_order_cost">{$order.cost ?: 0}</span> {'ms2_frontend_currency' | lexicon}
</h3>
<button type="submit" name="ms2_action" value="order/submit" class="btn btn-lg btn-primary ml-md-2 ms2_link">
{'ms2_frontend_order_submit' | lexicon}
</button>
</div>
</form>
<button type="submit" name="ms2_action" value="order/submit" class="btn btn-lg btn-primary ml-md-2 ms2_link"> {'ms2_frontend_order_submit' | lexicon} </button> Эта
Обсуждают сегодня