five-for-the-future/plugins/wporg-5ftf/views/inputs-pledge-new-misc.php
Kelly Dwan 001c8ee243
Switch inputs to default editable
Use `$readonly` variable to toggle on readonly state
2019-10-08 13:21:43 -04:00

22 lines
412 B
PHP

<?php
namespace WordPressDotOrg\FiveForTheFuture\View;
/** @var array $data */
/** @var bool $readonly */
?>
<div class="form-field">
<p>
<!-- Statement of agreement to pledge, link to further info maybe? -->
</p>
<input
type="checkbox"
id="5ftf-pledge-agree"
name="pledge-agree"
required
/>
<label for="5ftf-pledge-agree">
<?php esc_html_e( 'I agree', 'wordpressorg' ); ?>
</label>
</div>