Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pods-utils.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ function pods_utils_show_pod_fields($pod, $selected_fields = null, $pod_id = nul
?>
<label for="<?php echo $name_prefix . $field['name']; ?>">
<?php _e( $field['label'], $theme_name ); ?>
<?php $label['options']['required'] == 1 ? _e( '(required)', $theme_name ) : ""; ?>
<?php $field['options']['required'] == 1 ? _e( '(required)', $theme_name ) : ""; ?>
</label>
<?php echo PodsForm::field( $name_prefix . $field['name'], null, $field['type'], $field, $pod_name, $pod_id ); ?>
<?php echo PodsForm::field( $name_prefix . $field['name'], null, $field['type'], $field, $pod, $pod_id ); ?>
<?php
}
}
Expand Down