(#2) - forms improvements (#4)

Co-authored-by: Martin Slachta <martin.slachta@outlook.com>
Reviewed-on: #4
This commit was merged in pull request #4.
This commit is contained in:
2026-06-12 14:05:49 +00:00
parent 1294a177ae
commit f4d3972d07
17 changed files with 1152 additions and 1129 deletions
+15
View File
@@ -0,0 +1,15 @@
<?php
abstract class RsvAdminPage {
final public function render(): void {
if (!current_user_can(RsvCapabilities::MANAGE)) {
return;
}
echo '<div class="wrap">';
$this->render_content();
echo '</div>';
}
abstract protected function render_content(): void;
}