
<!-- BEGIN [% templalte.name %] -->

    [% # PROCESS dumper.tt dump = data.as_tree %]

	<h2 class="header">Result Summary Expansion</h2>

    <p class="warning">Expansion text is a required field, if function no
        longer needed for this results summary, set it to inactive</p>
	<script type="text/javascript" src="/js/jquery.textarea-expander.js"></script>

    <form method="post" name="result_summary_expand" id="result_summary_expand"
        action="[% app_url %]/config/result-summary-options/expand/[% data.id %]">

	  <table class="indent">
        <tr>
            <th>Result summary:</th>
            <td>[% data.description %]</td>
        </tr>
        <tr>
            <th><span class="warning">Expansion text:</span></th>
            <td>
                <textarea name="description" rows="1" cols="50" class="expand20-200"
					[% site.html.on_focus %]>[%
                        data.result_summary_expansion.description %]</textarea>
            </td>
        </tr>
        <tr>
            <th>Active:</th>
            <td>
                <select name="is_active">
                    [% FOREACH entry IN ['yes' 'no'] # default 1st %]
                        <option value="[% entry %]"
                                [% 'selected' IF data.is_active == entry %]>
                            [% entry %]
                        </option>
                    [% END %]
                </select>
                [% site.html.submit %]
            </td>
        </tr>
      </table>
    <p class="indent">[% site.html.back_button %]</p>
    </form>
<!-- END [% templalte.name %] -->
