<link rel="stylesheet" type="text/css" href="includes/js/select2/css/select2.min.css"/>
<script type="text/javascript" src="includes/js/select2/js/select2.full.min.js"></script>
<script type="text/javascript" src="includes/js/select2/js/i18n/de.js"></script>

<form action="[% route('SaveScheduledWorkflow') %]" method="post" name="wfDef" class="form-horizontal form-label-left">
    <div class="card panel-fcs-border shadow-sm">
        <div class="card-header">
            <div class="row">
                <div class="col-sm-6">
                    <span class="fcs-card-title h2">[% $user->gettext('Neuen zeitgesteuerten Workflow definieren') %]</span>
                </div>
                <div class="col-sm-6 text-end">
                    <div class="btn-group">
                        <input type="button" value="[% $user->gettext('Zur&uuml;ck') %]" onclick="window.location.href = 'index.php?module=scheduledworkflow';" class="btn btn-outline-secondary" />
                        <input type="submit" class="btn btn-outline-primary" value="[% $user->gettext('Speichern') %]" />
                    </div>
                </div>
            </div>
        </div>
        <div class="card-body">
            <div class="col-12" id="NewScheduledWorkflow"></div>
        </div>
    </div>
</form>
<script>
    $(document).ready(function ()
    {
        $('#NewScheduledWorkflow').load('scheduledworkflow/create', function () {});
    });
</script>
