RSS Git Download  Clone
Raw Blame History
 [% META title = 'Admin » Lab Section Status Options » Edit' -%]
 <!-- BEGIN admin/lab/section/statusoptions/edit.tt -->

  [% # PROCESS admin/lab_test_nav.tt page = 'lab_section' %]

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

	<h2 align="center">Edit Lab Section Status Options</h2>

    <p class="indent">
        [% site.html.back_button %]
    </p>
    
    <h3>Section: [% lab_section.section_name %]</h3>
    
    <p class="indent">
        <span class="title">Status options:</span>
    </p>
    <form method="post"
        action="[% app_url %]/admin/lab_section_status-options/update/[% lab_section.id %]">
        <table class="indent">
            [% FOREACH opt IN status_options;
                NEXT UNLESS opt.is_editable.match('yes') %]
            <tr>
                [% class = data.item(opt.id) ? 'title' : 'normal' %]
                <td align="right">
                    <span class="[% class %]">[% opt.description %]</span>:
                </td>
                <td>
                    <input type="checkbox" name="option_id" value="[% opt.id %]"
                        [% 'checked' IF data.item(opt.id) %] />
                </td>
            </tr>
            [% END %]
        </table>
        <p class="indent">
            [% site.html.submit %]
            [% site.html.reset %]
        </p>
    </form>
 <!-- END admin/lab/section/statusoptions/edit.tt -->