mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-07-04 10:05:43 +03:00
Manage Pledge: Update email dialog to use JS submission (#104)
Use the proper dialog behavior for submitting an email to generate a manage link. Fixes #98.
This commit is contained in:
parent
a67ef04505
commit
a11e3c5fa5
14 changed files with 1202 additions and 134 deletions
13
plugins/wporg-5ftf/views/button-request-manage-link.php
Normal file
13
plugins/wporg-5ftf/views/button-request-manage-link.php
Normal file
|
@ -0,0 +1,13 @@
|
|||
<?php
|
||||
|
||||
namespace WordPressDotOrg\FiveForTheFuture\View;
|
||||
|
||||
defined( 'WPINC' ) || die();
|
||||
|
||||
?>
|
||||
<div class="edit-pledge-wrapper">
|
||||
<button id="toggle-management-link-form" class="button button-link">
|
||||
<span class="dashicons dashicons-edit" aria-hidden="true"></span>
|
||||
<?php esc_html_e( 'Edit Pledge', 'wporg-5ftf' ); ?>
|
||||
</button>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue