Commit 8496c3f4 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Don't show view submission form on group views block when editing the view

Signed-off-by: default avatarRichard Mansfield <>
parent b46cf758
......@@ -74,7 +74,7 @@ class PluginBlocktypeGroupViews extends SystemBlocktype {
if (isset($data['mysubmittedviews'])) {
$dwoo->assign('mysubmittedviews', $data['mysubmittedviews']);
if (isset($data['group_view_submission_form'])) {
if (!$editing && isset($data['group_view_submission_form'])) {
$dwoo->assign('group_view_submission_form', $data['group_view_submission_form']);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment