<tr>
    <td><input type="text" class="form-control" name="record[{$counter}][name]" value="" title="{$MGLANG->absoluteT('addonAA','zones','record_info','name')}" placeholder="{$MGLANG->absoluteT('addonAA','zones','name')}" required=""/></td>
    <td><input type="text" class="form-control" disabled="" name="record[{$counter}][type]" value="{$record_type}" title="{$MGLANG->absoluteT('addonAA','zones','record_type_info',$record_type)}"/><input type="hidden" name="record[{$counter}][type]" value="{$record_type}"/></td>
    <td><input type="number" class="form-control" name="record[{$counter}][ttl]" value="14440" title="{$MGLANG->absoluteT('addonAA','zones','record_info','ttl')}" placeholder="{$MGLANG->absoluteT('addonAA','zones','ttl')}" min="1" required=""/></td>
    <td>
        {foreach from=$record_fields key="field" item="value"}
            <input type="text" class="form-control table-input" name="record[{$counter}][field][{$field}]" value="{$value}" placeholder="{$MGLANG->absoluteT('addonCA','zones','record_field_placeholder',$record_type,$field)}" title="{$MGLANG->absoluteT('addonAA','zones','record_field_info',$record_type,$field)}"/>
        {/foreach}
    </td>
    <td>
        <a class="btn btn-danger btn-icon-only" onclick="removeRecord($(this));" title="{$MGLANG->T('remove')}"><span class="glyphicon glyphicon-remove"></span></a>
    </td>
</tr>