asset udpate url bug

pull/26/head
ibuler 2015-12-14 18:28:53 +08:00
parent 1a32fb5da1
commit 2496f1c654
2 changed files with 2 additions and 2 deletions

View File

@ -374,7 +374,7 @@
$.ajax({ $.ajax({
type: "post", type: "post",
data: {asset_id_all: asset_id_all}, data: {asset_id_all: asset_id_all},
url: "{% url 'asset_add_batch' %}", url: "{% url 'asset_update_batch' %}",
success: function () { success: function () {
parent.location.reload(); parent.location.reload();
} }

View File

@ -51,7 +51,7 @@
<label for="role_key" class="col-sm-2 control-label">用户密钥</label> <label for="role_key" class="col-sm-2 control-label">用户密钥</label>
<div class="col-sm-8"> <div class="col-sm-8">
<textarea class="form-control" name="role_key" placeholder="请复制粘贴私钥" rows="10" style="font-size: 9px;"></textarea> <textarea class="form-control" name="role_key" placeholder="请复制粘贴私钥" rows="10" style="font-size: 9px;"></textarea>
<span class="help-block m-b-none">如果不添加密钥,会自动生成, 密码密钥必填一项</span> <span class="help-block m-b-none">如果不添加密钥,会自动生成 </span>
</div> </div>
</div> </div>
<div class="hr-line-dashed"></div> <div class="hr-line-dashed"></div>