[% META title = 'Admin » HMRN » Data Params for Disease Categories' -%]
<!-- BEGIN [% template.name %] -->
<h2 align="center">Data Params for Disease Categories</h2>
[% # PROCESS dumper.tt dump = params %]
[% # PROCESS admin/misc_nav.tt page = 'result-summary-options' %]
<form method="post" action="[% app_url %]/hmrn/params_config"
name="category" id="category">
<p>
<b>Disease category</b>:
<select name="category" [% on_focus %] onchange="submit()">
<option value=""> </option>
[% FOREACH entry IN categories.sort %]
<option value="[% entry %]" [% 'selected' IF
entry == c.query.param('category') %]>
[% entry | ucfirst | html %]
</option>
[% END %]
</select>
</p>
</form>
[% IF params.size %]
<form method="post" action="[% app_url %]/hmrn/params_config"
name="params" id="params">
<table>
<tr>
[% count = 0;
FOREACH param IN params;
is_selected = param.value.selected %]
<td class="label">[% param.key %]:</td>
<td class="content"
style="background: [% is_selected ? '#FC9F9F' : 'normal' %]">
<input type="checkbox" name="param_id" value="[% param.value.id %]"
[% 'checked' IF is_selected %] />
</td>
<td class="borderless"> </td>
[% IF count % 2 %]</tr><tr>[% END %]
[% count = count + 1 %]
[% END %]
</tr>
<tr class="borderless">
<td colspan="6" align="center">
[% site.html.submit %]
[% site.html.reset %]
</td>
</tr>
</table>
<input type="hidden" name="category" value="[% c.query.param('category') %]" />
</form>
[% END %]
[% IF c.query.param('id') OR dfv_errors %]
[% PROCESS admin/config/resultsummaryoptions/list.tt %]
[% END %]
<!-- END [% template.name %] -->