File "form.php"

Full Path: /home/romayxjt/public_html/wp-content/plugins/the-events-calendar/common/src/admin-views/widgets/components/form.php
File size: 827 bytes
MIME-type: text/x-php
Charset: utf-8

<?php
/**
 * Admin View: Widget Component Form
 *
 * Override this template in your own theme by creating a file at:
 * [your-theme]/tribe/admin-views/widgets/components/form.php
 *
 * See more documentation about our views templating system.
 *
 * @link    http://evnt.is/1aiy
 *
 * @var \Tribe__Template    $this          Instance of the template including this file.
 * @var array<mixed>        $form_classes  (optional) HTML classes used for the form element
 * @var array<string,mixed> $admin_fields  Fields to be rendered.
 *
 * @version 4.12.18
 */

$default_classes = [
	'tribe-widget-form',
];

$classes = array_merge( $default_classes, $this->get( 'form_classes', [] ) );
?>

<div
	<?php tribe_classes( $classes ); ?>
>
	<?php $this->template( 'widgets/components/fields', [ 'fields' => $admin_fields ] ); ?>
</div>