<section class="heading b-b">
  <div class="row no-gutter">
    <div class="col-xs-2 col-sm-2 col-md-1">
      <section class="heading-btn">
        <a ng-click="backPrevLocation($event)"><i class="fas fa-long-arrow-alt-left "></i></a>
      </section>
    </div>
    <div class="col-xs-10 col-sm-10 col-md-8 b-l">
      <section class="heading-title">
        <h1 translate>{{ 'app.admin.admins_new.add_an_administrator' }}</h1>
      </section>
    </div>

  </div>
</section>

<div class="row no-gutter">
  <div class=" col-sm-12 col-md-9 b-r nopadding">

    <form role="form" name="adminForm" class="form-horizontal" novalidate>
      <section class="panel panel-default bg-light m-lg">
        <div class="panel-body m-r">
          <ng-include src="'/shared/_admin_form.html'"></ng-include>
        </div>


        <div class="panel-footer no-padder">
          <input type="submit" value="{{ 'app.shared.buttons.save' | translate}}" class="fab-button is-secondary button-full" ng-click="saveAdmin()" ng-disabled="adminForm.$invalid"/>
        </div>
      </section>
    </form>

  </div>
</div>