<div class="d-flex justify-content-center">
  <div class="col-8">
    @if (authority()) {
      <div>
        <h2 data-cy="authorityDetailsHeading"><span jhiTranslate="resilientApp.adminAuthority.detail.title">Authority</span></h2>

        <hr />

        <jhi-alert-error></jhi-alert-error>

        <jhi-alert></jhi-alert>

        <dl class="row-md jh-entity-details">
          <dt><span jhiTranslate="resilientApp.adminAuthority.name">Name</span></dt>
          <dd>
            <span>{{ authority()!.name }}</span>
          </dd>
        </dl>

        <button type="submit" (click)="previousState()" class="btn btn-info" data-cy="entityDetailsBackButton">
          <fa-icon icon="arrow-left"></fa-icon>&nbsp;<span jhiTranslate="entity.action.back">Voltar</span>
        </button>
      </div>
    }
  </div>
</div>
