2
<h3>$i18n.getString( "edit_indicator_type" )</h3>
4
<form id="updateIndicatorTypeForm" action="updateIndicatorType.action" method="post" onsubmit="return validateUpdateIndicatorType()">
7
<input type="hidden" id="id" name="id" value="$indicatorType.id">
12
<th colspan="2">$i18n.getString( "details" )</th>
15
<td><label for="name">$i18n.getString( "name" ) <em title="$i18n.getString( "required" )" class="required">*</em></label></td>
16
<td><input type="text" id="name" name="name" value="$encoder.htmlEncode( $indicatorType.name )" style="width:20em"></td>
19
<td><label for="factor">$i18n.getString( "factor" ) <em title="$i18n.getString( "required" )" class="required">*</em></label></td>
20
<td><input type="text" id="factor" name="factor" value="$indicatorType.factor" style="width:20em"></td>
24
<td><input type="submit" value="$i18n.getString( "save" )" style="width:10em"><input type="button" value="$i18n.getString( "cancel" )" onclick="window.location.href='indicatorType.action'" style="width:10em"></td>
30
<span id="message"></span>
32
<script type="text/javascript">
34
var nameField = document.getElementById( 'name' );