Use new code style
This commit is contained in:
@ -60,20 +60,20 @@
|
||||
{{ field.name ? field.name : "<?php echo __('(no label)', 'wp-ultimo'); ?>" }}
|
||||
|
||||
<!-- Visibility -->
|
||||
<span
|
||||
<span
|
||||
v-if="field.logged && field.logged == 'guests_only'"
|
||||
class="wu-px-1 wu-ml-1 wu-text-xs wu-align-text-bottom wu-inline-block wu-rounded wu-bg-blue-100 wu-text-blue-600"
|
||||
>
|
||||
<?php echo wu_tooltip('Guests only', 'dashicons-wu-eye'); ?>
|
||||
</span>
|
||||
<?php echo wu_tooltip('Guests only', 'dashicons-wu-eye'); ?>
|
||||
</span>
|
||||
|
||||
<span
|
||||
<span
|
||||
v-if="field.logged && field.logged == 'logged_only'"
|
||||
class="wu-px-1 wu-ml-1 wu-text-xs wu-align-text-bottom wu-inline-block wu-rounded wu-bg-blue-100 wu-text-blue-600"
|
||||
>
|
||||
<?php echo wu_tooltip('Logged-in users only', 'dashicons-wu-eye'); ?>
|
||||
</span>
|
||||
<!-- Visibility - End -->
|
||||
<?php echo wu_tooltip('Logged-in users only', 'dashicons-wu-eye'); ?>
|
||||
</span>
|
||||
<!-- Visibility - End -->
|
||||
|
||||
</span>
|
||||
|
||||
@ -82,10 +82,17 @@
|
||||
<a
|
||||
title="Edit Field"
|
||||
class="wubox"
|
||||
:href="'<?php echo wu_get_form_url('add_new_form_field', array(
|
||||
'checkout_form' => $checkout_form,
|
||||
'step' => '',
|
||||
)); ?>=' + step_name + '&field=' + field.id"
|
||||
:href="'
|
||||
<?php
|
||||
echo wu_get_form_url(
|
||||
'add_new_form_field',
|
||||
array(
|
||||
'checkout_form' => $checkout_form,
|
||||
'step' => '',
|
||||
)
|
||||
);
|
||||
?>
|
||||
=' + step_name + '&field=' + field.id"
|
||||
>
|
||||
<?php _e('Edit'); ?>
|
||||
</a>
|
||||
|
Reference in New Issue
Block a user