RSS Git Download  Clone
Raw Blame History
[% META title="Initial Screen » Edit" %]

    [% # PROCESS dumper.tt dump = initial_screen %]
    [% # PROCESS dumper.tt dump = screen_terms %]
    
    <h3>Change initial screen:</h3>
    
    <p class="indent">
        <span class="info">INFO: will automatically request new laboratory tests
            as required. Any existing tests will NOT be overwritten.</span>
    </p>
    
    <form action="[% app_url %]/screen/update/[% c.param('id') %]">
        <p>Initial screen:
            <select name="screen_id">
                <option value="">&nbsp;</option>
                [% FOREACH group IN [ 'fresh' 'fixed'] %]
                    <optgroup label="[% group | upper %] TISSUE">
                        [% FOREACH screen IN screen_terms %]
                            [% NEXT UNLESS screen.sample_type.match(group) %]
                            <option value="[% screen.id %]" [% 'selected' IF
                                screen.id == initial_screen.screen.id %]>
                                [% screen.description %]
                            </option>
                        [% END %]
                    </optgroup>
                [% END %]
            </select>
            [% error_screen_id %]
            [% site.html.submit %]
            [% site.html.reset %]
        </p>
        
        <p>[% site.html.back_button %]</p>
    </form>