content_mailcnf_domainlist_edit.html 1.36 KB
<table border="0">

{% for list in lists %}

    <form action="/mailcnf/domain" method="POST">
        <tr>
            <th>Name</th>
            <th>Wert</th>
        </tr>


         <tr>
        <td>Group ID:</td>
            <td>
                 {% if uid== 0 %}
                    <input type="text" size="70" name="group_id" value="{{ list[7] }}">
                {% else %}
                    <input type="text" size="70" name="group_id" value="{{ list[7] }}" readonly>
                {% end %}
            </td>
        </tr>
        <tr>

            <td>Name: </td>
            <td><input type="text" size="40" name="name" value="{{ list[1] }}">
            </tr>

            <tr>
                <td>Aktiv: </td>
                <td><input type="checkbox" size="40" name="active" {% if  list[5] == 1 %}  value="1"   checked   {% else %} value="0" {% end %}></td> 
               
             </tr>
                <input type="hidden" size="70" name="fnc" value="submitedit">
                <input type="hidden" value="domainlist" size="70" name="mainfnc"  class="'">
                <input type="hidden" value="mailcnf" size="70" name="module" class="'">
                 <input type="hidden" value="{{ list[0] }}" size="70" name="id" class="'">
                <button type="submit" class="btn btn-info  btn-block btn-xs">Sende</button>
        <tr> 
    </form>
{% end %}