mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-07-04 10:05:43 +03:00
Pledge form: Add a blurb for the "Agree" checkbox
This commit is contained in:
parent
a2fba5250e
commit
cd011bb7f0
1 changed files with 10 additions and 2 deletions
|
@ -7,7 +7,15 @@ namespace WordPressDotOrg\FiveForTheFuture\View;
|
||||||
|
|
||||||
<div class="form-field form-field__agree">
|
<div class="form-field form-field__agree">
|
||||||
<p>
|
<p>
|
||||||
<!-- Statement of agreement to pledge, link to further info maybe? -->
|
<?php
|
||||||
|
printf(
|
||||||
|
wp_kses_post( '
|
||||||
|
I understand and agree to the <a href="%s">expectations</a> for
|
||||||
|
inclusion in the Five for the Future acknowledgement program.
|
||||||
|
' ),
|
||||||
|
'https://wordpress.org/five-for-the-future/expectations/' // TODO Change this URL?
|
||||||
|
);
|
||||||
|
?>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<input
|
<input
|
||||||
|
@ -18,6 +26,6 @@ namespace WordPressDotOrg\FiveForTheFuture\View;
|
||||||
<?php checked( $data['pledge-agreement'] ); ?>
|
<?php checked( $data['pledge-agreement'] ); ?>
|
||||||
/>
|
/>
|
||||||
<label for="5ftf-pledge-agreement">
|
<label for="5ftf-pledge-agreement">
|
||||||
<?php esc_html_e( 'I agree', 'wordpressorg' ); ?>
|
<?php esc_html_e( 'Yes', 'wordpressorg' ); ?>
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue