# jetformbuilder/1.0.1/templates/common/field-row.php

JetFormBuilder — Dynamic Blocks Form Builder, version 1.0.1. 28 lines.

- Page: https://pluginprobe.com/plugins/jetformbuilder/1.0.1/code/templates/common/field-row.php
- Raw: https://pluginprobe.com/plugins/jetformbuilder/1.0.1/raw/templates/common/field-row.php
- Modified: 2021-02-03T13:49:40+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/jetformbuilder/1.0.1/code/templates/common/field-row.php#L10-L20`.

```php
<?php
/**
 * Row-layout field template
 */

$fullwidth = ' content-fullwidth';

?>
<?php if ( $label || $desc ) : ?>
<div class="jet-form-col__start"><?php

	echo $label;
	echo $desc;

	// Reset fullwidth content if we have label or description for field
	$fullwidth = '';

?></div>
<?php endif; ?>
<div class="jet-form-col__end<?php echo $fullwidth; ?>"><?php
	if ( $template ) {
		if ( is_readable( $template ) ) {
			include $template;
		} else {
			echo $template;
		}
	}
?></div>
```
