Style pledge form

This commit is contained in:
Kelly Dwan 2019-10-08 16:41:59 -04:00
parent 9e46d1c543
commit 161331deff
No known key found for this signature in database
GPG key ID: 8BA5575F3D11575D
10 changed files with 119 additions and 39 deletions

View file

@ -7,17 +7,20 @@ namespace WordPressDotOrg\FiveForTheFuture\View;
<div class="form-field">
<label for="5ftf-pledge-email">
<?php esc_html_e( 'Contact Email', 'wordpressorg' ); ?>
<?php esc_html_e( 'Administrator Email', 'wordpressorg' ); ?>
</label>
<input
type="email"
class="large-text"
id="5ftf-pledge-email"
name="org-pledge-email"
value="<?php echo esc_attr( $data['org-pledge-email'] ); ?>"
required
aria-describedby="5ftf-pledge-email-help"
<?php echo $readonly ? 'readonly' : ''; ?>
/>
<p id="5ftf-pledge-email-help">
<?php esc_html_e( 'This email will be used to verify your organizations contribution profile, and later manage any changes.', 'wordpressorg' ); ?>
</p>
<?php if ( is_admin() ) : ?>
<?php if ( $data['pledge-email-confirmed'] ) : ?>