[%# Because this template is used for editing other templates, it's a
    good idea to change the default tags. -%]
[%- TAGS star -%]
[*- DEFAULT theme = OI.theme_properties;
    PROCESS error_message;
    PROCESS status_message;
    OI.box_add( 'template_tools_box', tmpl = tmpl ); -*]

<h2>Template Display</h2>

[* PROCESS table_bordered_begin -*]
[*- valign = 'top'; count = 0; -*]

[*- count = count + 1 -*]
[* INCLUDE label_text_row( label = 'Package', text = tmpl.package ) -*]

[*- count = count + 1 -*]
[* INCLUDE label_text_row( label = 'Name', text = tmpl.name ) -*]

[*- count = count + 1 -*]
[* INCLUDE label_text_row( label = 'Modified',
                           text  = OI.date_format( tmpl.modified_on ) -*]

[*- count = count + 1 -*]
[* INCLUDE label_text_row( label = 'Contents',
                           text  = "<pre><font size='-1'>$tmpl.contents</font></pre>" ) -*]

[* PROCESS table_bordered_end -*]
