Add the "Add Contributors" input to the form

This commit is contained in:
Kelly Dwan 2019-11-13 13:19:43 -05:00
parent eacd2bf3f2
commit aa79c8147e
No known key found for this signature in database
GPG key ID: 8BA5575F3D11575D
4 changed files with 21 additions and 6 deletions

View file

@ -2,7 +2,7 @@
namespace WordPressDotOrg\FiveForTheFuture\View;
/** @var array $data */
/** @var bool $readonly */
/** @var bool $is_manage */
?>
<div class="form-field">
@ -15,7 +15,7 @@ namespace WordPressDotOrg\FiveForTheFuture\View;
name="pledge-contributors"
placeholder="sanguine.zoe206, captain-mal, kayleefixesyou"
value="<?php echo esc_attr( $data['pledge-contributors'] ); ?>"
required
<?php echo $is_manage ? '' : 'required'; ?>
aria-describedby="5ftf-pledge-contributors-help"
/>
<p id="5ftf-pledge-contributors-help">