Location: PHPKode > projects > Habari > system/admin/formcontrols/formcontrol_textarea.php
<?php if ( !defined( 'HABARI_PATH' ) ) { die('No direct access'); } ?>
<div<?php
		echo $control->parameter_map(
			array(
				'class', 'id' => 'name'
			)
		); ?>>
	<label <?php
		echo $control->parameter_map(
			array(
				'title' => array( 'label_title', 'title' ),
				'for' => 'field',
			)
		); ?>><?php echo $control->caption; ?></label>
	<textarea <?php
		echo $control->parameter_map(
			array(
				'title' => array( 'control_title', 'title' ),
				'tabindex', 'cols', 'rows', 'maxlength', 'placeholder', 'disabled', 'readonly',
				'id' => 'field',
				'name' => 'field',
			),
			array(
				'rows' => 10,
				'cols' => 100,
			)
		);
		?>><?php echo Utils::htmlspecialchars( $control->value ); ?></textarea>
		<?php 
		
			if ( isset( $control->helptext ) && !empty( $control->helptext ) ) {
				?>
					<span class="helptext"><?php echo $control->helptext; ?></span>
				<?php
			}
		
		?>
	<?php $control->errors_out( '<li>%s</li>', '<ul class="error">%s</ul>' ); ?>
</div>
Return current item: Habari