]> git.andy128k.dev Git - ipf.git/commitdiff
admin site: add form block to change template
authorAndrey Kutejko <andy128k@gmail.com>
Mon, 17 Oct 2011 13:07:41 +0000 (15:07 +0200)
committerAndrey Kutejko <andy128k@gmail.com>
Mon, 17 Oct 2011 13:07:41 +0000 (15:07 +0200)
ipf/admin/templates/admin/change.html

index 25cb927aca240b4e0ef99a67c7df9fd22d821107..1892077b9c58523c587e99f60fe1be8f1617a75e 100644 (file)
@@ -26,7 +26,9 @@ $(document).ready(function(){
             <p class="errornote">Please correct the error below.</p>
             {/if}
             <fieldset class="module aligned">
-            {$form.render_admin()}
+              {block form}
+                {$form.render_admin()}
+              {/block}
             </fieldset>
             {if $inlineInstances}
             {foreach $inlineInstances as $inline}