Files

36 lines
988 B
Handlebars

<p>Add a new DNS record to {{domain.domain}}.{{domain.tld}}</p>
<form action="/dns/new/{{domain.id}}" method="post">
<label for="dns_record_type">Type</label>
<br>
<select name="dns_record_type" id="dns_record_type">
{{#each supportedRecordTypes}}
<option value="{{this}}">{{this}}</option>
{{/each}}
</select>
<br><br>
<label for="dns_record_name">Name</label>
<br>
<input type="text" name="dns_record_name" id="dns_record_name">
<br><br>
<label for="dns_record_host">Host</label>
<br>
<input type="text" name="dns_record_host" id="dns_record_host">
<br><br>
<label for="dns_record_ttl">TTL</label>
<br>
<!--[if lte IE 9]>
<input type="text" name="dns_record_ttl" id="dns_record_ttl">
<![endif]-->
<!--[if !IE]>-->
<input type="number" name="dns_record_ttl" id="dns_record_ttl">
<!--<![endif]-->
<br><br>
<input type="submit" class="DefaultButton">
</form>