Manage Pledge: Enable pledge admins to edit contributors from manage form

This commit is contained in:
Kelly Dwan 2019-11-22 15:43:55 -05:00
parent 77391b5c46
commit b1b2ba9732
No known key found for this signature in database
GPG key ID: 8BA5575F3D11575D
6 changed files with 63 additions and 12 deletions

View file

@ -175,8 +175,6 @@ function render_form_manage() {
return ob_get_clean();
}
$contributors = Contributor\get_pledge_contributors( $pledge_id, $status = 'all' );
if ( 'Update Pledge' === $action ) {
$results = process_form_manage( $pledge_id, $auth_token );
@ -187,7 +185,8 @@ function render_form_manage() {
}
}
$data = PledgeMeta\get_pledge_meta( $pledge_id );
$data = PledgeMeta\get_pledge_meta( $pledge_id );
$contributors = Contributor\get_pledge_contributors_data( $pledge_id );
ob_start();
$readonly = false;