<%@ page contentType="text/html; charset=UTF-8"%><%@ include file="/WEB-INF/jspf/include/taglibs.jsp"%>

<div id="paramResult"></div>

<div style="margin: 10px auto;"><button class="btn btn-secondary" onclick="showBlock( 'parametersRoot', 'list', parametersQuery ); return false;">К списку...</button></div>			

<form>
<div class="tile">
	<div class="titleFont3 titleBottomLine">Редактор параметра</div>
	<div class="paramEditorTitle" style="margin-top: 20px;">${pref.title}</div>
	<div class="paramEditorValue textField mTop05"><input type="text" name="paramStringValue" value="${fn:escapeXml(paramValue)}"></div>
	<div style="margin: 20px 10px; text-align: right;">
		<button class="btn btn-primary" onclick="showBlock( 'paramResult', 'update', { ...parametersQuery, paramValue: this.form.paramStringValue.value, paramId: ${pref.id} } ); return false;">Применить</button>
		<button class="btn btn-outline-primary"" style="margin-left: 20px;" onclick="showBlock( 'parametersRoot', 'list', parametersQuery ); return false;">Отмена</button>
	</div>
</div>
</form>