HEX
Server: Apache
System: Linux od-b43f49 4.9.0-0.bpo.12-amd64 #1 SMP Debian 4.9.210-1+deb9u1~deb8u1 (2020-06-09) x86_64
User: uid181852 (181852)
PHP: 8.2.30
Disabled: passthru,exec,system,popen,shell_exec,proc_open,pcntl_exec
Upload Files
File: /home/clients/94735d3feef25fe7d1511e6bdd8b0ef6/web/wp-content/plugins/pods/ui/front/view.php
<?php
pods_form_enqueue_style( 'pods-form' );

/**
 * @var array $fields
 * @var Pods  $pod
 */
?>
<div class="pods-submittable-fields">
	<ul class="pods-form-fields">
		<?php
		foreach ( $fields as $field ) {
			if ( isset( $field['custom_display'] ) && is_callable( $field['custom_display'] ) ) {
				$value = call_user_func_array(
					$field['custom_display'], array(
						$pod->row(),
						$pod,
						$pod->field( $field['name'] ),
						$field['name'],
						$field,
					)
				);
			} else {
				$value = $pod->display( $field['name'] );
			}
			$default_class = ' pods-form-ui-row-type-' . $field['type'] . ' pods-form-ui-row-name-' . PodsForm::clean( $field[ 'name' ] );
			$html_class = apply_filters( 'pods-field-html-class', $field ) . $default_class;
			?>
			<li class="pods-field__container pods-field <?php echo esc_attr( $html_class, true ); ?>">
				<div class="pods-field-label">
					<strong><?php echo $field['label']; ?></strong>
				</div>

				<div class="pods-field-input">
					<?php echo $value; ?>
				</div>
			</li>
		<?php
		}//end foreach
	?>
	</ul>
</div>