summaryrefslogtreecommitdiffstats
path: root/ipa-server/ipa-gui/ipagui/templates/usernewform.kid
diff options
context:
space:
mode:
authorKevin McCarthy <kmccarth@redhat.com>2007-08-31 10:59:26 -0700
committerKevin McCarthy <kmccarth@redhat.com>2007-08-31 10:59:26 -0700
commit00e299467c9d5c7b44724e45079bb0fdf7e5654b (patch)
treed03be9c47c4ad700d97df7e0d672ede262ba21a0 /ipa-server/ipa-gui/ipagui/templates/usernewform.kid
parentc85c8eede36224e72b42153708dd58a9f0610b0d (diff)
downloadfreeipa-00e299467c9d5c7b44724e45079bb0fdf7e5654b.tar.gz
freeipa-00e299467c9d5c7b44724e45079bb0fdf7e5654b.tar.xz
freeipa-00e299467c9d5c7b44724e45079bb0fdf7e5654b.zip
Add account deactivation checkbox.
Fix genModList to lowercase all keys and use CIDict.
Diffstat (limited to 'ipa-server/ipa-gui/ipagui/templates/usernewform.kid')
-rw-r--r--ipa-server/ipa-gui/ipagui/templates/usernewform.kid15
1 files changed, 15 insertions, 0 deletions
diff --git a/ipa-server/ipa-gui/ipagui/templates/usernewform.kid b/ipa-server/ipa-gui/ipagui/templates/usernewform.kid
index c766327f0..d4863a3df 100644
--- a/ipa-server/ipa-gui/ipagui/templates/usernewform.kid
+++ b/ipa-server/ipa-gui/ipagui/templates/usernewform.kid
@@ -150,6 +150,21 @@
</tr>
</table>
+ <div class="formsection">Account Status</div>
+ <table class="formtable" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <th>
+ <label class="fieldlabel" for="${user.nsAccountLock.field_id}"
+ py:content="user.nsAccountLock.label" />:
+ </th>
+ <td>
+ <span py:replace="user.nsAccountLock.display(value_for(user.nsAccountLock))" />
+ <span py:if="tg.errors.get('nsAccountLock')" class="fielderror"
+ py:content="tg.errors.get('nsAccountLock')" />
+ </td>
+ </tr>
+ </table>
+
<table class="formtable" cellpadding="2" cellspacing="0" border="0">
<tr>
<th>