 </tr>
    </table>
    {{ html.endForm() | raw }}
</div>

{% endblock %}

{% block js %}
<script>
    function save(){
        var form = 'editForm';
        var url = '/qq/edit?id='+'{{ model.id }}';
        $('#' + form).form({
            url: url,
            onSubmit:function(){
                return $(this).form('enableValidation').form('validate');
            },
            success: function (data) {
                data = eval('(' + data + ')');
                if (data.error == 0) {
            