mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-07-05 10:25:45 +03:00
Switch inputs to default editable
Use `$readonly` variable to toggle on readonly state
This commit is contained in:
parent
61ef972391
commit
001c8ee243
7 changed files with 14 additions and 12 deletions
|
@ -38,6 +38,7 @@ function render_form_new() {
|
|||
}
|
||||
|
||||
ob_start();
|
||||
$readonly = false;
|
||||
require FiveForTheFuture\PATH . 'views/form-pledge-new.php';
|
||||
|
||||
return ob_get_clean();
|
||||
|
@ -108,6 +109,7 @@ function render_form_manage() {
|
|||
}
|
||||
|
||||
ob_start();
|
||||
$readonly = false;
|
||||
require FiveForTheFuture\PATH . 'views/form-pledge-manage.php';
|
||||
|
||||
return ob_get_clean();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue