2019-10-04 22:35:02 +03:00
< ? php
namespace WordPressDotOrg\FiveForTheFuture\View ;
/** @var array $data */
2019-10-09 01:29:35 +03:00
/** @var bool $readonly */
2019-10-04 22:35:02 +03:00
?>
2019-10-09 01:29:35 +03:00
< div class = " form-field form-field__agree " >
2019-10-04 22:35:02 +03:00
< input
type = " checkbox "
2019-10-19 02:56:21 +03:00
id = " 5ftf-pledge-agreement "
name = " pledge-agreement "
2019-10-04 22:35:02 +03:00
required
2019-10-19 02:56:21 +03:00
< ? php checked ( $data [ 'pledge-agreement' ] ); ?>
2019-10-04 22:35:02 +03:00
/>
2019-10-19 02:56:21 +03:00
< label for = " 5ftf-pledge-agreement " >
2019-10-29 02:09:38 +02:00
< ? php
printf (
2019-10-29 02:10:53 +02:00
wp_kses_post ( __ ( 'I understand and agree to the <a href="%s">expectations for inclusion</a> in the Five for the Future acknowledgement program.' , 'wporg-5ftf' ) ),
2019-10-29 02:09:38 +02:00
esc_url ( get_permalink ( get_page_by_path ( 'expectations' ) ) ) // TODO Change this URL?
);
?>
2019-10-04 22:35:02 +03:00
</ label >
</ div >