* Add entry edit.js.

This commit is contained in:
Yagami
2019-06-21 15:52:34 +08:00
parent 2034c42371
commit 38608263d3
4 changed files with 21 additions and 2 deletions
+6 -1
View File
@@ -20,7 +20,7 @@
<small><?php echo $lang->arrow . ' ' . $lang->entry->edit;?></small>
</h2>
</div>
<form id='entryForm' method='post' class='ajaxForm'>
<form id='entryForm' method='post' class='form-ajax'>
<table class='table table-form'>
<tr>
<th class='w-80px'><?php echo $lang->entry->name;?></th>
@@ -32,7 +32,12 @@
<td><?php echo html::input('code', $entry->code, "class='form-control' title='{$lang->entry->note->code}' placeholder='{$lang->entry->note->code}'");?></td>
</tr>
<tr>
<th><?php echo $lang->entry->freePasswd;?></th>
<td><?php echo html::radio('freePasswd', $lang->entry->freePasswdList, $entry->freePasswd);?></td>
<td></td>
</tr>
<tr>
<tr class="<?php if($entry->freePasswd == 1) echo 'hidden'?>">
<th><?php echo $lang->entry->account;?></th>
<td><?php echo html::select("account", $users, $entry->account, "class='form-control chosen'");?></td>
</tr>