base.html.php
4 years ago
checkbox.html.php
4 years ago
file.html.php
4 years ago
hidden.html.php
4 years ago
html.html.php
4 years ago
label-content.html.php
4 years ago
label.html.php
4 years ago
radio.html.php
4 years ago
select.html.php
4 years ago
textarea.html.php
4 years ago
label-content.html.php
14 lines
| 1 | <?php /** @var Give\Framework\FieldsAPI\Field $field */ ?> |
| 2 | <?php echo $field->getLabel(); ?> |
| 3 | <?php if ( $field->isRequired() ) : ?> |
| 4 | <span class="give-required-indicator"> |
| 5 | <span aria-hidden="true">*</span> |
| 6 | <span class="screen-reader-text"><?php esc_html_e( 'Required', 'give' ); ?></span> |
| 7 | </span> |
| 8 | <?php endif; ?> |
| 9 | <?php |
| 10 | echo ( $helpText = $field->getHelpText() ) ? |
| 11 | Give()->tooltips->render_help( $helpText ) : |
| 12 | ''; |
| 13 | ?> |
| 14 |