Initial Commit

This commit is contained in:
David Stone
2024-11-30 18:24:12 -07:00
commit e8f7955c1c
5432 changed files with 1397750 additions and 0 deletions

View File

@ -0,0 +1,13 @@
<?php
/**
* Title field partial view.
*
* @since 2.0.0
*/
?>
<?php if ($field->desc) : ?>
<?php echo $field->desc; ?>
<?php endif; ?>

View File

@ -0,0 +1,14 @@
<?php
/**
* Errors field partial view.
*
* @since 2.0.0
*/
?>
<span
v-cloak
class="wu-block wu-bg-red-100 wu-p-2 wu-mb-4"
v-if="get_error('<?php echo esc_attr($field->id); ?>')"
v-html="get_error('<?php echo esc_attr($field->id); ?>').message"
></span>

View File

@ -0,0 +1,25 @@
<?php
/**
* Title field partial view.
*
* @since 2.0.0
*/
?>
<?php if ($field->title) : ?>
<label class="wu-block" for="field-<?php echo esc_attr($field->id); ?>">
<?php echo $field->title; ?>
<?php if ($field->required) : ?>
<span class="wu-checkout-required-field wu-text-red-500">*</span>
<?php endif; ?>
<?php echo wu_tooltip($field->tooltip); ?>
</label>
<?php endif; ?>