2019-10-04 22:35:02 +03:00
|
|
|
<?php
|
|
|
|
namespace WordPressDotOrg\FiveForTheFuture\View;
|
|
|
|
|
|
|
|
/** @var array $contributors */
|
2019-10-09 01:29:35 +03:00
|
|
|
/** @var array $data */
|
|
|
|
/** @var bool $readonly */
|
2019-10-04 22:35:02 +03:00
|
|
|
?>
|
|
|
|
|
|
|
|
<?php if ( empty( $contributors ) ) : ?>
|
|
|
|
|
|
|
|
<div class="form-field">
|
|
|
|
<label for="5ftf-pledge-contributors">
|
|
|
|
<?php esc_html_e( 'Contributors', 'wordpressorg' ); ?>
|
|
|
|
</label>
|
|
|
|
<input
|
|
|
|
type="text"
|
|
|
|
id="5ftf-pledge-contributors"
|
|
|
|
name="pledge-contributors"
|
|
|
|
value=""
|
|
|
|
required
|
2019-10-09 01:29:35 +03:00
|
|
|
aria-describedby="5ftf-pledge-contributors-help"
|
2019-10-04 22:35:02 +03:00
|
|
|
/>
|
2019-10-09 01:29:35 +03:00
|
|
|
<p id="5ftf-pledge-contributors-help">
|
|
|
|
<?php esc_html_e( 'Separate each username with a comma.', 'wordpressorg' ); ?>
|
2019-10-04 22:35:02 +03:00
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<?php else : ?>
|
|
|
|
|
|
|
|
<div class="5ftf-contributors">
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<?php endif; ?>
|