checkbox.html.php
5 years ago
label.html.php
5 years ago
select.html.php
5 years ago
text.html.php
5 years ago
textarea.html.php
5 years ago
select.html.php
16 lines
| 1 | <select |
| 2 | name="give_<?php echo $field->getName(); ?>" |
| 3 | id="give-<?php echo $field->getName(); ?>" |
| 4 | class="give-input required" |
| 5 | placeholder="<?php echo $field->getLabel(); ?>" |
| 6 | <?php if ( $field->isRequired() ) : ?> |
| 7 | required="" aria-required="true" |
| 8 | <?php endif; ?> |
| 9 | tabindex="1" |
| 10 | @attributes |
| 11 | > |
| 12 | <?php foreach ( $field->getOptions() as $key => $value ) : ?> |
| 13 | <option value="<?php echo $key; ?>"><?php echo $value; ?></option> |
| 14 | <?php endforeach; ?> |
| 15 | </select> |
| 16 |