2
<h3>$i18n.getString( "edit_data_element_category_combo" )</h3>
4
<form id="editDataElementCategoryComboForm" name="editDataElementCategoryComboForm" action="updateDataElementCategoryCombo.action" method="post" onsubmit="submitForm(); return validateEditDataElementCategoryCombo()">
5
<div style="display:inline">
6
<input type="hidden" id="dataElementCategoryComboId" name="dataElementCategoryComboId" value="$dataElementCategoryCombo.id">
9
<table id="detailsList">
14
<th colspan="2">$i18n.getString( "data_element_category_combo_details" )</th>
19
<td><label>$i18n.getString( "name" ) <em title="$i18n.getString( "required" )" class="required">*</em></label></td>
20
<td><input type="text" id="nameField" name="nameField" style="width:20em" value="$encoder.htmlEncode( $dataElementCategoryCombo.name )"></td>
22
<tr><td> </td><td> </td></tr>
26
<table id="dataElementCategorySelectionArea">
27
<col> ## Selected DataElementCategories
29
<col> ## Available DataElementCategories
32
<th>$i18n.getString( "available_categories" )</th>
34
<th>$i18n.getString( "selected_categories" )</th>
45
<!-- List of all available categories -->
46
<select size="15" id="availableList" name="availableList" multiple="multiple" style="min-width:20em;height:20em" ondblclick="move( 'availableList' )">
47
<!-- Show all available categories -->
48
#foreach ( $availableDataElementCategory in $allDataElementCategories )
49
<option value="$availableDataElementCategory.id">$encoder.htmlEncode( $availableDataElementCategory.name )</option>
54
<td valign="top" align="center">
55
<input type="button" value=">" onclick="move( 'availableList' )"><br>
56
<input type="button" value="<" onclick="move ( 'selectedList' )"> <br> <br>
57
<a href="#" onclick="moveUp('selectedList')"><img src="../images/move_up.png" border="0" alt=""></a><br><br>
58
<a href="#" onclick="moveDown('selectedList')"><img src="../images/move_down.png" border="0" alt=""></a>
61
<select id="selectedList" name="selectedList" multiple="multiple" style="min-width:20em;height:20em" ondblclick="move( 'selectedList' )">
62
#foreach ( $dataElementCategory in $dataElementCategories )
63
<option value="$dataElementCategory.id">$encoder.htmlEncode( $dataElementCategory.name )</option>
71
<p><span id="message"></span></p>
77
<input type="submit" name="update" value="$i18n.getString( "update" )">
79
Cancel and go back to the overview
81
<input type="button" name="cancel"
82
onclick="window.location.href='categoryCombo.action'" value="$i18n.getString( "cancel" )">