<div class="modal-dialog modal-lg">
    <div class="modal-content">
        <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal" aria-hidden="true"></button>
            <h4 class="modal-title">{{ ('cs_core.ck'~ type ~'.modal.title')|trans }}</h4>
        </div>

        <div class="modal-body">
            {{ form(form) }}
        </div>

        <div class="clearfix"></div>

        <div class="modal-footer">
            <button class="csmodal-cancel btn defaultBtn btn-cancel" data-dismiss="modal" aria-hidden="true">{{ 'cs_core.ckimage.modal.cancel'|trans }}</button>
            <button class="csmodal-accept btn mainBtn btn-save" id="submit" {{ asset.src ? '' : 'disabled' }}>{{ 'cs_core.ckimage.modal.submit'|trans }}</button>
        </div>
    </div>
</div>
