<h1>{{@page_data.title}}</h1>
<form name="taps_form" method="POST" action="/taps/form">
	<input type="hidden" name="id" value="{{@data['id']}}">
	<input type="hidden" name="mark" value="{{@data['mark']}}">
	<p>
		<input type="text" name="title" class="tap_title width_input_100" value="{{@data['title']}}" autocomplete="off" placeholder="Название">
	</p>
	<check if="{{@base_settings.virtual_keyboard==1}}">
		<true>
	<div class="virtual_keyboard full_keyboard" align="center">
		{~@keys='1234567890-+|QWERTYUIOP_|ASDFGHJKL@|ZXCVBNM'~}
		<div class="eng hide">
		<loop from="{{@i=0}}" to="{{@i<mb_strlen(@keys)}}" step="{{@i++}}">
			<check if="{{@keys[@i]=='|'}}">
				<true>
			<br>
				</true>
				<false>
			<input type="button" class="virtual_key" value="{{@keys[@i]}}" for='tap_title'>
				</false>
			</check>
		</loop>
			<button type="button" class="virtual_key_bks" for='tap_title'>
				<i class="fas fa-long-arrow-alt-left"></i>
			</button>
			<input type="button" class="virtual_key_delete" for='tap_title' value="CE">
			<br>
			<input type="button" class="virtual_key_ru" value="RU">
			<input type="button" class="virtual_key virtual_key_space" for='tap_title' value=" ">
			<input type="button" class="virtual_key" for='tap_title' value=",">
			<input type="button" class="virtual_key" for='tap_title' value=".">
			<button type="submit" class="virtual_key_submit virtual_key_total">Сохранить</button>
		</div>
		{~@keys='1234567890-+|ЙЦУКЕНГШЩЗХЪ|ФЫВАПРОЛДЖЭ_|ЯЧСМИТЬБЮ'~}
		<div class="ru">
		<loop from="{{@i=0}}" to="{{@i<mb_strlen(@keys)}}" step="{{@i++}}">
			{~@a=mb_substr(@keys, @i, 1)~}
			<check if="{{@a=='|'}}">
				<true>
			<br>
				</true>
				<false>
			<input type="button" class="virtual_key" value="{{@a}}" for='tap_title'>
				</false>
			</check>
		</loop>
			<button type="button" class="virtual_key_bks" for='tap_title'>
				<i class="fas fa-long-arrow-alt-left"></i>
			</button>
			<input type="button" class="virtual_key_delete" for='tap_title' value="CE">
			<br>
			<input type="button" class="virtual_key_eng" value="ENG">
			<input type="button" class="virtual_key virtual_key_space" for='tap_title' value=" ">
			<input type="button" class="virtual_key" for='tap_title' value="@">
			<input type="button" class="virtual_key" for='tap_title' value=",">
			<input type="button" class="virtual_key" for='tap_title' value=".">
			<button type="submit" class="virtual_key_submit virtual_key_total">
				Сохранить
			</button>
		</div>
	</div>
		</true>
		<false>
	<p align="center">
		<button type="submit">
			Сохранить
		</button>
	</p>
		</false>
	</check>
</form>