<&| /lib/filter/form.mas, objects => [ $page ? $page : () ] &>
% if ($page) { % } else { % } % if ( $c->user()->has_permission_in_wiki( wiki => $wiki, permission => Silki::Schema::Permission->Manage() ) ) {
% }

Preview

<% $preview | n %>
<%args> $page => undef $title => undef $preview $wiki <%init> my $action = $page ? $page->uri() : $wiki->uri( view => 'pages' );