<div class="col-sm-9 col-md-10 col-sm-push-3 col-md-push-2">
    <h1>{{:: 'create-top-level-form' | translate}}</h1>

    <kc-tabs-authentication></kc-tabs-authentication>

    <form class="form-horizontal" name="clientForm" novalidate kc-read-only="!access.manageRealm">
        <div class="form-group">
            <label class="col-md-2 control-label" for="alias">{{:: 'alias' | translate}} </label>
            <div class="col-sm-6">
                <input class="form-control" type="text" id="alias" name="alias" data-ng-model="flow.alias" autofocus required>
            </div>
            <kc-tooltip>{{:: 'flow.alias.tooltip' | translate}}</kc-tooltip>
        </div>
        <div class="form-group">
            <label class="col-md-2 control-label" for="description">{{:: 'description' | translate}} </label>

            <div class="col-md-6">
                <textarea class="form-control" rows="5" cols="50" id="description" name="description" data-ng-model="flow.description"></textarea>
            </div>
        </div>
        <div class="form-group">
            <label class="col-md-2 control-label" for="flowType">{{:: 'top-level-flow-type' | translate}}</label>
            <div class="col-sm-6">
                <div>
                    <select class="form-control" id="flowType"
                            ng-model="flow.providerId">
                        <option value="basic-flow">{{:: 'flow.generic' | translate}}</option>
                        <option value="client-flow">{{:: 'flow.client' | translate}}</option>
                    </select>
                </div>
            </div>
            <kc-tooltip>{{:: 'top-level-flow-type.tooltip' | translate}}</kc-tooltip>
        </div>
        <div class="form-group">
            <div class="col-md-10 col-md-offset-2">
                <button kc-save>{{:: 'save' | translate}}</button>
                <button type="button" class="btn btn-default" ng-click="cancel()">{{:: 'cancel' | translate}}</button>
            </div>
        </div>
    </form>
</div>

<kc-menu></kc-menu>