File "html-location-group.php"

Full path: /home/satitravel/public_html/wp-content/plugins/citynet/includes/acf/includes/admin/views/html-location-group.php
File size: 594 B
MIME-type: text/html
Charset: utf-8

Download   Open   Edit   Advanced Editor &nnbsp; Back

<div class="rule-group" data-id="<?php echo $group_id; ?>">

	<h4><?php echo ( $group_id == 'group_0' ) ? __( 'Show this field group if', 'acf' ) : __( 'or', 'acf' ); ?></h4>
	
	<table class="acf-table -clear">
		<tbody>
			<?php
			foreach ( $group as $i => $rule ) :

				// validate rule
				$rule = acf_validate_location_rule( $rule );

				// append id and group
				$rule['id']    = "rule_{$i}";
				$rule['group'] = $group_id;

				// view
				acf_get_view(
					'html-location-rule',
					array(
						'rule' => $rule,
					)
				);

			 endforeach;
			?>
		</tbody>
	</table>
	
</div>