<tr data-count="{{ count }}" class="rule-action-holder">
    <td style="width:40px;">
        <a href="#" class="btn btn-danger btn-sm remove-action"><span class="fa fa-trash"></span></a>
    </td>
    <td style="width:30%;">
        {# TODO error when invalid name #}
        <select name="actions[{{ count }}][type]" class="form-control">
            {% for key,type in allRuleActions() %}
                <option value="{{ key }}" label="{{ type }}" {% if key == oldAction %} selected{% endif %}>{{ type }}</option>
            {% endfor %}
        </select>
    </td>
    <td style="position: relative;">

        <input autocomplete="off" type="text" value="{{ oldValue }}" name="actions[{{ count }}][value]"
               class="form-control">
        {% if errors.has('actions.'~count~'.value') %}
            <p class="text-danger">
                {{ errors.first('actions.'~count~'.value') }}
            </p>
        {% endif %}
    </td>
    <td style="width:20%;">
        <div class="checkbox">
            <label>
                <input type="checkbox" name="actions[{{ count }}][stop_processing]" value="1"
                       {% if oldChecked %}checked{% endif %}
                />
            </label>
        </div>
    </td>
</tr>
