summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorIgor Scheller <igor.scheller@igorshp.de>2019-04-21 17:52:08 +0200
committerIgor Scheller <igor.scheller@igorshp.de>2019-04-21 17:54:10 +0200
commit69c47dcc42da663b75b05b3878bd1d4071697d76 (patch)
tree23834ae5f8a49f3dcbef1be0e6fe4f2bbc2797e0 /includes
parente1be950fb13b824270e3bed3e47ef5e9c2ae25b8 (diff)
admin-free: Improved formattig
Diffstat (limited to 'includes')
-rw-r--r--includes/pages/admin_free.php10
1 files 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),
]);
}