mirror of
https://github.com/openvk/openvk
synced 2025-01-26 17:49:58 +03:00
20 lines
821 B
XML
20 lines
821 B
XML
|
{extends "../@layout.xml"}
|
||
|
|
||
|
{block title}Редактировать город{/block}
|
||
|
{block header}{include title}{/block}
|
||
|
|
||
|
{block content}
|
||
|
{include "./tabs.xml", mode => $mode, country => $country}
|
||
|
<br />
|
||
|
<div>
|
||
|
<h4><a href="/editdb?act=country&id={$country->getId()}">{$country->getCanonicalName()}</a> → {$city->getCanonicalName()}</h4>
|
||
|
<form id="add-country-form" method="post">
|
||
|
<input type="text" name="name" placeholder="Название на английском" value="{$city->getName()}"/>
|
||
|
<input type="text" name="native_name" placeholder="Родное название" value="{$city->getNativeName()}"/>
|
||
|
|
||
|
<input type="hidden" name="hash" value="{$csrfToken}"/>
|
||
|
<input type="submit" value="{_save}" class="button" style="float: right;"/>
|
||
|
</form>
|
||
|
</div>
|
||
|
{/block}
|