<?php
/** 
 * @package     VikRentItems - Libraries
 * @subpackage  html.managetos
 * @author      E4J s.r.l.
 * @copyright   Copyright (C) 2025 E4J s.r.l. All Rights Reserved.
 * @license     http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
 * @link        https://vikwp.com
 */

// No direct access
defined('ABSPATH') or die('No script kiddies please!');

$field = $displayData['field'];

?>

<div style="padding: 10px;">

	<form id="tos-form-<?php echo (int) $field['id']; ?>">

		<div class="vri-admin-container vri-params-container-wide">

			<div class="vri-params-container">

				<!-- Name - Textarea -->

				<div class="vri-param-container">
					<div class="vri-param-label"><?php echo JText::translate('VRPVIEWCUSTOMFONE'); ?> <sup>*</sup></div>
					<div class="vri-param-setting">
						<textarea name="name" style="resize: vertical;height: 80px;"><?php echo JText::translate($field['name']); ?></textarea>
					</div>
				</div>

				<!-- Popup Link - Textarea -->

				<div class="vri-param-container">
					<div class="vri-param-label"><?php echo JText::translate('VRNEWCUSTOMFEIGHT'); ?> <sup>*</sup></div>
					<div class="vri-param-setting">
						<textarea name="poplink" style="resize: vertical;height: 80px;"><?php echo JText::translate($field['poplink']); ?></textarea>
					</div>
				</div>

			</div>

		</div>

		<input type="hidden" name="id" value="<?php echo (int) $field['id']; ?>" />

	</form>

</div>
