mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-07-10 04:25:44 +03:00
Pledge Form: Abstract the procedure for getting filtered post input
This commit is contained in:
parent
1405ff138a
commit
c520d26527
4 changed files with 124 additions and 31 deletions
|
@ -12,11 +12,12 @@ namespace WordPressDotOrg\FiveForTheFuture\View;
|
|||
|
||||
<input
|
||||
type="checkbox"
|
||||
id="5ftf-pledge-agree"
|
||||
name="pledge-agree"
|
||||
id="5ftf-pledge-agreement"
|
||||
name="pledge-agreement"
|
||||
required
|
||||
<?php checked( $data['pledge-agreement'] ); ?>
|
||||
/>
|
||||
<label for="5ftf-pledge-agree">
|
||||
<label for="5ftf-pledge-agreement">
|
||||
<?php esc_html_e( 'I agree', 'wordpressorg' ); ?>
|
||||
</label>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue