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
|
|
|
<p>
|
2019-10-23 23:47:15 +03:00
|
|
|
<?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.
|
|
|
|
' ),
|
2019-10-24 17:55:45 +03:00
|
|
|
esc_url( get_permalink( get_page_by_path( 'expectations' ) ) ) // TODO Change this URL?
|
2019-10-23 23:47:15 +03:00
|
|
|
);
|
|
|
|
?>
|
2019-10-04 22:35:02 +03:00
|
|
|
</p>
|
|
|
|
|
|
|
|
<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-23 23:47:15 +03:00
|
|
|
<?php esc_html_e( 'Yes', 'wordpressorg' ); ?>
|
2019-10-04 22:35:02 +03:00
|
|
|
</label>
|
|
|
|
</div>
|