mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-04-22 19:13:44 +03:00
Pledge Form: Improve placeholders for clarity.
* Make the usernames look more like realistic usernames. * Add placeholders where specific formats are needed.
This commit is contained in:
parent
f55054f56c
commit
bac15d21fc
|
@ -13,8 +13,8 @@ namespace WordPressDotOrg\FiveForTheFuture\View;
|
||||||
type="text"
|
type="text"
|
||||||
id="5ftf-pledge-contributors"
|
id="5ftf-pledge-contributors"
|
||||||
name="pledge-contributors"
|
name="pledge-contributors"
|
||||||
|
placeholder="sanguine.zoe206, captain-mal, kayleefixesyou"
|
||||||
value="<?php echo esc_attr( $data['pledge-contributors'] ); ?>"
|
value="<?php echo esc_attr( $data['pledge-contributors'] ); ?>"
|
||||||
placeholder="zoe, mal, kaylee"
|
|
||||||
required
|
required
|
||||||
aria-describedby="5ftf-pledge-contributors-help"
|
aria-describedby="5ftf-pledge-contributors-help"
|
||||||
/>
|
/>
|
||||||
|
|
|
@ -19,6 +19,7 @@ use WP_Post;
|
||||||
type="email"
|
type="email"
|
||||||
id="5ftf-pledge-email"
|
id="5ftf-pledge-email"
|
||||||
name="org-pledge-email"
|
name="org-pledge-email"
|
||||||
|
placeholder="wordpress-contributors@example.com"
|
||||||
value="<?php echo esc_attr( $data['org-pledge-email'] ); ?>"
|
value="<?php echo esc_attr( $data['org-pledge-email'] ); ?>"
|
||||||
required
|
required
|
||||||
aria-describedby="5ftf-pledge-email-help"
|
aria-describedby="5ftf-pledge-email-help"
|
||||||
|
|
|
@ -41,6 +41,7 @@ namespace WordPressDotOrg\FiveForTheFuture\View;
|
||||||
type="url"
|
type="url"
|
||||||
id="5ftf-org-url"
|
id="5ftf-org-url"
|
||||||
name="org-url"
|
name="org-url"
|
||||||
|
placeholder="https://example.com"
|
||||||
value="<?php echo esc_attr( $data['org-url'] ); ?>"
|
value="<?php echo esc_attr( $data['org-url'] ); ?>"
|
||||||
required
|
required
|
||||||
<?php echo $readonly ? 'readonly' : ''; ?>
|
<?php echo $readonly ? 'readonly' : ''; ?>
|
||||||
|
|
Loading…
Reference in a new issue