five-for-the-future/plugins/wporg-5ftf/views/inputs-pledge-contributors.php

25 lines
709 B
PHP
Raw Normal View History

<?php
namespace WordPressDotOrg\FiveForTheFuture\View;
/** @var array $data */
/** @var bool $is_manage */
?>
<div class="form-field">
<label for="5ftf-pledge-contributors">
2019-11-23 11:34:19 +02:00
<?php esc_html_e( 'Contributor Usernames', 'wporg-5ftf' ); ?>
</label>
<input
type="text"
id="5ftf-pledge-contributors"
name="pledge-contributors"
placeholder="sanguine.zoe206, captain-mal, kayleefixesyou"
value="<?php echo esc_attr( $data['pledge-contributors'] ); ?>"
<?php echo $is_manage ? '' : 'required'; ?>
aria-describedby="5ftf-pledge-contributors-help"
/>
<p id="5ftf-pledge-contributors-help">
2019-11-23 11:34:19 +02:00
<?php esc_html_e( 'Separate each WordPress.org username with a comma.', 'wporg-5ftf' ); ?>
</p>
</div>