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
file.html.php
14 lines
| 1 | <?php /** @var Give\Framework\FieldsAPI\File $field */ ?> |
| 2 | <?php /** @var string $fieldIdAttribute */ ?> |
| 3 | <?php /** @var string $visibilityConditionsAttribute */ ?> |
| 4 | |
| 5 | <input |
| 6 | type="file" |
| 7 | name="<?php echo $field->getName(); ?><?php echo $field->getAllowMultiple() ? '[]' : ''; ?>" |
| 8 | id="<?php echo $fieldIdAttribute; ?>" |
| 9 | <?php echo $field->getAllowMultiple() ? 'multiple' : ''; ?> |
| 10 | <?php echo $field->isRequired() ? 'required' : ''; ?> |
| 11 | <?php echo $field->isReadOnly() ? 'readonly' : ''; ?> |
| 12 | <?php echo $visibilityConditionsAttribute ?> |
| 13 | > |
| 14 |