<dialog-ok-cancel title="{{ host.Id == null ? 'Add' : 'Edit'}} host {{ host.Name }}">
    <div class="form-group">
        <label for="name" class="col-sm-2 control-label">Name</label>
        <div class="col-sm-9">
            <input id="name" class="form-control" ng-model="host.Name" required lu-enable-permission="{{ permission }}"/>
        </div>
    </div>
    <div class="form-group">
        <label for="url" class="col-sm-2 control-label">URL</label>
        <div class="col-sm-9">
            <input id="url" class="form-control" ng-model="host.Url" required lu-enable-permission="{{ permission }}"/>
        </div>
    </div>
    <div class="form-group">
        <label for="token" class="col-sm-2 control-label">Token</label>
        <div class="col-sm-9">
            <input type="password" id="token" class="form-control" ng-model="host.Token" lu-enable-permission="{{ permission }}"/>
        </div>
    </div>
</dialog-ok-cancel>