correct templates to use key.id in modelchoicefields
This commit is contained in:
parent
3451cae823
commit
650245582a
|
@ -42,10 +42,7 @@ Add CNAME record for {{ originating_record }}
|
||||||
<label class="control-label">TTL: </label>
|
<label class="control-label">TTL: </label>
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
<select name="ttl">
|
<select name="ttl">
|
||||||
<!-- {% for key in tsig_keys %} -->
|
<option value="86400">86400 (1 day)</option>
|
||||||
<!-- <option value="{{key}}">{{key}}</option> -->
|
|
||||||
<!-- {% endfor %} -->
|
|
||||||
<option value="86400">86400 (1 day)</option>
|
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -56,7 +53,7 @@ Add CNAME record for {{ originating_record }}
|
||||||
<select name="key_name">
|
<select name="key_name">
|
||||||
<option selected="selected" value=""></option>
|
<option selected="selected" value=""></option>
|
||||||
{% for key in tsig_keys %}
|
{% for key in tsig_keys %}
|
||||||
<option value="{{key}}">{{key}}</option>
|
<option value="{{key.id}}">{{key}}</option>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -77,9 +77,9 @@ Add record in {{ zone_name }}
|
||||||
<label class="control-label">TSIG Key: </label>
|
<label class="control-label">TSIG Key: </label>
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
<select name="key_name">
|
<select name="key_name">
|
||||||
<option selected="selected" value=""/>
|
<option selected="selected" value=""/>
|
||||||
{% for key in tsig_keys %}
|
{% for key in tsig_keys %}
|
||||||
<option value="{{key}}">{{key}}</option>
|
<option value="{{key.id}}">{{key}}</option>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue