#parse ("/template/includes/actionerrors.vm")

#if ($actionErrors.size() == 0)
<p style="margin-left: 2em;">$action.getText($defaultDecorator.descriptionKey)</p>
        <form name="editdecorator" method="POST" action="storedecorator.action">
            #form_xsrfToken()

            <div align="right">
                    #tag( "Submit" "name='update'" "value='update.name'" "theme='notable'" )
                    #tag( "Submit" "name='cancel'" "value='cancel.name'" "theme='notable'" )
            </div>
            #tag("Textarea" "theme='notable'" "template='widetextarea.vm'" "label='decorator'" "name='content'" "rows=50" "cols=100")
            #tag("Hidden" "name='decoratorName'")
            #if ($key)
                #tag("Hidden" "name='key'")
            #end
            <div align="right">
                    #tag( "Submit" "name='update'" "value='update.name'" "theme='notable'" )
                    #tag( "Submit" "name='cancel'" "value='cancel.name'" "theme='notable'" )
            </div>
        </form>
    </table>
</div>

#end
