| @@ -12,9 +12,10 @@ | ||
| 12 | 12 | 'import_link' => true, |
| 13 | 13 | 'publish' => array( |
| 14 | 14 | 'FrmAppHelper::add_new_item_link', |
| 15 | 15 | array( |
| 16 | - 'trigger_new_form_modal' => current_user_can( 'frm_edit_forms' ), | |
| 16 | + 'create_form' => current_user_can( 'frm_edit_forms' ), | |
| 17 | + 'new_link' => admin_url( 'admin.php?page=' . FrmFormTemplatesController::PAGE_SLUG . '&return_page=forms' ), | |
| 17 | 18 | ), |
| 18 | 19 | ), |
| 19 | 20 | ) |
| 20 | 21 | ); |
| @@ -53,5 +54,4 @@ | ||
| 53 | 54 | |
| 54 | 55 | <?php do_action( 'frm_page_footer', array( 'table' => $wp_list_table ) ); ?> |
| 55 | 56 | </div> |
| 56 | 57 | </div> |
| 57 | - | |