Browse Source

#1462 , should be .Id and not .ID

see issue #1462 .
pull/1467/head
Uriel Fanelli 10 years ago
parent
commit
12d5100a26
  1. 4
      templates/user/settings/sshkeys.tmpl

4
templates/user/settings/sshkeys.tmpl

@ -28,7 +28,7 @@
<form action="{{AppSubUrl}}/user/settings/ssh" method="post"> <form action="{{AppSubUrl}}/user/settings/ssh" method="post">
{{$.CsrfTokenHtml}} {{$.CsrfTokenHtml}}
<input name="_method" type="hidden" value="DELETE"> <input name="_method" type="hidden" value="DELETE">
<input name="id" type="hidden" value="{{.ID}}"> <input name="id" type="hidden" value="{{.Id}}">
<button class="right ssh-btn btn btn-red btn-radius btn-small">{{$.i18n.Tr "settings.delete_key"}}</button> <button class="right ssh-btn btn btn-red btn-radius btn-small">{{$.i18n.Tr "settings.delete_key"}}</button>
</form> </form>
</li> </li>
@ -60,4 +60,4 @@
</div> </div>
</div> </div>
</div> </div>
{{template "ng/base/footer" .}} {{template "ng/base/footer" .}}

Loading…
Cancel
Save