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

<div class="steptitle">$action.getText($decorator.typeNameKey)</div>
<div>
    <p style="margin-left: 2em;">$action.getText($defaultDecorator.descriptionKey)</p>

    <form method="POST" action="doeditstylesheet.action">
        #form_xsrfToken()
        <div>
            #tag( "Submit" "name='update'" "value='update.name'" "theme='notable'" )
            #tag( "Submit" "name='cancel'" "value='cancel.name'" "theme='notable'" )
        </div>
        <div class="pageSection">
        #tag("Textarea" "theme='notable'" "template='widetextarea.vm'" "label='decorator'" "name='style'" "id='style'" "rows=30" "cols=80")
        #tag("Hidden" "name='decoratorName'")
        #if ($key)
        #tag("Hidden" "name='key'")
        #end
        </div>
    </form>
</div>
