~mortenoh/+junk/dhis2-detailed-import-export

« back to all changes in this revision

Viewing changes to dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/webapp/dhis-web-maintenance-datadictionary/updateIndicatorTypeForm.vm

  • Committer: larshelge at gmail
  • Date: 2009-03-03 16:46:36 UTC
  • Revision ID: larshelge@gmail.com-20090303164636-2sjlrquo7ib1gf7r
Initial check-in

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
<h3>$i18n.getString( "edit_indicator_type" )</h3>
 
3
 
 
4
<form id="updateIndicatorTypeForm" action="updateIndicatorType.action" method="post" onsubmit="return validateUpdateIndicatorType()">
 
5
 
 
6
<div>
 
7
        <input type="hidden" id="id" name="id" value="$indicatorType.id">
 
8
</div>
 
9
 
 
10
<table>
 
11
        <tr>
 
12
                <th colspan="2">$i18n.getString( "details" )</th>
 
13
        </tr>
 
14
        <tr>
 
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>
 
17
        </tr>
 
18
        <tr>
 
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>
 
21
        </tr>
 
22
        <tr>
 
23
                <td></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>
 
25
        </tr>
 
26
</table>
 
27
 
 
28
</form>
 
29
 
 
30
<span id="message"></span>
 
31
 
 
32
<script type="text/javascript">
 
33
 
 
34
        var nameField = document.getElementById( 'name' );
 
35
        nameField.select();
 
36
        nameField.focus();
 
37
 
 
38
</script>