Fixed the name of the variable holding the key on the add CNAME page.

This commit is contained in:
Daniel Roschka 2015-03-23 18:39:08 +01:00
parent a449443340
commit 0b21800bae
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@
<div class="controls"> <div class="controls">
<select name="key_name"> <select name="key_name">
{% for key in tsig_keys %} {% for key in tsig_keys %}
<option value="{{key.id}}"{% if current_key == dns_server.default_transfer_key %} selected="selected"{% endif %}>{{key}}</option> <option value="{{key.id}}"{% if key == dns_server.default_transfer_key %} selected="selected"{% endif %}>{{key}}</option>
{% empty %} {% empty %}
<option selected="selected" value=""></option> <option selected="selected" value=""></option>
{% endfor %} {% endfor %}