From 70bcac2648a51989e1184d9eeead766def999f8b Mon Sep 17 00:00:00 2001 From: Malf Furious Date: Sat, 21 Jul 2018 21:43:20 -0400 Subject: Add new group modal view/model code --- app/model/datamods.php | 32 +++++++++++++++++++++++++++++++ app/view/datamods.php | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 84 insertions(+) create mode 100644 app/model/datamods.php create mode 100644 app/view/datamods.php (limited to 'app') diff --git a/app/model/datamods.php b/app/model/datamods.php new file mode 100644 index 0000000..01311a8 --- /dev/null +++ b/app/model/datamods.php @@ -0,0 +1,32 @@ +text("name"); + + if (!$form->populate(input())) + return; + + $group = group::initNew($form->name, user::getCurrent()); +} + +?> diff --git a/app/view/datamods.php b/app/view/datamods.php new file mode 100644 index 0000000..62707c9 --- /dev/null +++ b/app/view/datamods.php @@ -0,0 +1,52 @@ + + + + + + -- cgit v1.2.3