webpackJsonp([264],{843:function(e,a,l){var n=l(39);e.exports=(n["default"]||n).template({compiler:[7,">= 4.0.0"],main:function(e,a,l,n,r){var t,o=null!=a?a:e.nullContext||{},s=l.helperMissing,i=e.escapeExpression;return(null!=(t=e.invokePartial(n["headers/_Title"],a,{name:"headers/_Title",hash:{title:"console.authorization.policies.edit.createNew"},data:r,helpers:l,partials:n,decorators:e.decorators}))?t:"")+'\r\n<div class="panel panel-default fr-panel-with-border">\r\n\r\n    <div class="panel-body">\r\n        <div class="block clearfix form-horizontal">\r\n            <div class="form-group">\r\n                <label class="col-sm-2 control-label" for="policyName">'+i((l.t||a&&a.t||s).call(o,"console.common.name",{name:"t",hash:{},data:r}))+'</label>\r\n\r\n                <div class="col-sm-9">\r\n                    <input class="form-control" id="policyName" name="entityName" type="text"\r\n                           value="'+i(e.lambda(null!=(t=null!=a?a.entity:a)?t.name:t,a))+'" data-field="name" autofocus required\r\n                           placeholder="'+i((l.t||a&&a.t||s).call(o,"common.form.validation.required",{name:"t",hash:{},data:r}))+'"/>\r\n                </div>\r\n            </div>\r\n\r\n            <div class="form-group">\r\n                <label class="col-sm-2 control-label" for="resTypesSelection">\r\n                    '+i((l.t||a&&a.t||s).call(o,"console.authorization.common.resourceType",{name:"t",hash:{},data:r}))+'\r\n                </label>\r\n\r\n                <div class="col-sm-9">\r\n                    <select class="selectize" id="resTypesSelection">\r\n                        <option disabled selected value="">'+i((l.t||a&&a.t||s).call(o,"console.authorization.policies.edit.selectResourceType",{name:"t",hash:{},data:r}))+'</option>\r\n                    </select>\r\n\r\n                    <span class="input-helper-text">\r\n                        '+i((l.t||a&&a.t||s).call(o,"console.authorization.policies.edit.selectResourceTypeHelper",{name:"t",hash:{},data:r}))+'\r\n                    </span>\r\n                </div>\r\n            </div>\r\n\r\n            <div id="editResources" class="clearfix"></div>\r\n        </div>\r\n    </div>\r\n\r\n    <div class="panel-footer clearfix">\r\n        <div class="pull-right">\r\n            <a class="btn btn-default" href="'+i((l.routeTo||a&&a.routeTo||s).call(o,"realmsPolicySetEdit",null!=a?a.realmPath:a,null!=a?a.policySetName:a,{name:"routeTo",hash:{},data:r}))+'">\r\n                '+i((l.t||a&&a.t||s).call(o,"common.form.cancel",{name:"t",hash:{},data:r}))+'\r\n            </a>\r\n            <input data-save type="button" name="submitForm" value="'+i((l.t||a&&a.t||s).call(o,"common.form.create",{name:"t",hash:{},data:r}))+'" class="btn btn-primary">\r\n        </div>\r\n    </div>\r\n</div>\r\n'},usePartial:true,useData:true})}});
//# sourceMappingURL=admin-views-realms-authorization-policies-NewPolicyTemplate.9778e34d5c.js.map