{{> headers/_Title title="console.authorization.resourceTypes.edit.title"}}

<div class="panel panel-default">
    <div class="panel-body">
        <div class="block clearfix">
            <h3 class="block-header">{{t "common.form.details"}}</h3>
            <div class="form-horizontal" id="resTypeSetting"></div>
        </div>

        <div class="block clearfix">
            <h3 class="block-header">{{t "console.authorization.resourceTypes.edit.specifyPatterns"}}</h3>
            <p class="panel-description">{{t "console.authorization.resourceTypes.edit.patternsDescription"}}</p>
            <div class="form-inline" id="resTypePatterns"></div>
        </div>

        <div class="block clearfix">
            <h3 class="block-header">{{t "console.authorization.resourceTypes.edit.specifyActions"}}</h3>
            <p class="panel-description">{{t "console.authorization.resourceTypes.edit.actionsDescription"}}</p>
            <div class="form-inline" id="resTypeActions"></div>
        </div>
    </div>

    <div class="panel-footer clearfix">
        <div class="pull-right">
            <a class="btn btn-default" href="{{routeTo 'realmsResourceTypes' realmPath}}">{{t "common.form.cancel"}}</a>
            <button data-save class="btn btn-primary" type="button">{{t "common.form.create"}}</button>
        </div>
    </div>
</div>
