Skip to content

Commit

Permalink
EZP-23478: redirection after publish form fields
Browse files Browse the repository at this point in the history
  • Loading branch information
Bertrand Dunogier committed Nov 26, 2014
1 parent 872d5b0 commit c86ce90
Showing 1 changed file with 4 additions and 1 deletion.
Expand Up @@ -48,7 +48,10 @@
{include uri='design:parts/websitetoolbar/logo.tpl'}

<form method="post" action={"content/action"|ezurl}>

{if is_set($redirect_uri)}
<input type="hidden" name="RedirectURIAfterPublish" value="{$redirect_uri|wash}" />
<input type="hidden" name="RedirectIfDiscarded" value="{$redirect_uri|wash}" />
{/if}
{if and( $content_object.can_create, $is_container )}
<div id="ezwt-creataction" class="ezwt-actiongroup">
<label for="ezwt-create" class="hide">Create:</label>
Expand Down

0 comments on commit c86ce90

Please sign in to comment.