From 8a189196899989fd611a710bbbfc6bbbf31b73cc Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Fri, 17 Sep 2021 16:59:01 +0200 Subject: Move New Venue form to a separate partial. --- includes/admin/views/giglog_admin_page.php | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'includes/admin/views/giglog_admin_page.php') diff --git a/includes/admin/views/giglog_admin_page.php b/includes/admin/views/giglog_admin_page.php index fa853fb..b7f6247 100644 --- a/includes/admin/views/giglog_admin_page.php +++ b/includes/admin/views/giglog_admin_page.php @@ -9,6 +9,7 @@ if ( !class_exists( 'GiglogAdmin_AdminPage' ) ) { require_once __DIR__ . '/../../venue.php'; require_once __DIR__ . '/_concerts_table.php'; require_once __DIR__ . '/_edit_concert_form.php'; + require_once __DIR__ . '/_new_venue_form.php'; class GiglogAdmin_AdminPage { @@ -52,8 +53,14 @@ if ( !class_exists( 'GiglogAdmin_AdminPage' ) ) { render(); + $edit_form = new GiglogAdmin_EditConcertForm(); + $venue_form = new GiglogAdmin_NewVenueForm(); ?> +
+

Form to create/edit concerts and venues

+
+
+ render() . $venue_form->render(); ?> +