From 69c47dcc42da663b75b05b3878bd1d4071697d76 Mon Sep 17 00:00:00 2001 From: Igor Scheller Date: Sun, 21 Apr 2019 17:52:08 +0200 Subject: [PATCH] admin-free: Improved formattig --- includes/pages/admin_free.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/includes/pages/admin_free.php b/includes/pages/admin_free.php index 1b116805..fa4508c5 100644 --- a/includes/pages/admin_free.php +++ b/includes/pages/admin_free.php @@ -59,7 +59,7 @@ function admin_free() ->orWhere('AngelTypes.restricted', '=', '0'); } - if($request->has('submit')) { + if ($request->has('submit')) { $users = $query->get(); } else { $users = []; @@ -100,11 +100,13 @@ function admin_free() } return page_with_title(admin_free_title(), [ form([ - div('col-md12 form-inline', [ + div('row', [ + div('col-md-12 form-inline', [ form_text('search', __('Search'), $search), form_select('angeltype', __('Angeltype'), $angel_types, $angelType), form_submit('submit', __('Search')) - ]) + ]), + ]), ]), table([ 'name' => __('Nick'), @@ -113,6 +115,6 @@ function admin_free() 'dect' => __('DECT'), 'email' => __('E-Mail'), 'actions' => '' - ], $free_users_table) + ], $free_users_table), ]); }