<div class="row spbrow">
  <div class="col-xs-12">
    <div class="col-xs-6">
      <h3>Configuration des tables d'historiques</h3>
    </div>
  </div>

  <div class="col-xs-12">
    <table class="table table-bordered">
      <tr>
        <th>Alias</th>
        <th>Nom table</th>
        <th>Attribut contenant la section cadastrale</th>
        <th>Edition</th>
      </tr>
      <tr ng-repeat="fti in ftiHistorique track by $index">
        <td class="text-center">{{ fti.alias }}</td>
        <td class="text-center">{{ fti.name }}</td>
        <td class="text-center">
          <span ng-bind="getAttributeName(fti.name)"></span>
        </td>
        <td class="text-center">
          <button class="btn btn-xs btn-info">
            <i class="fa fa-edit" ng-click="openEditHistoriqueModale(fti)"></i>
          </button>
        </td>
      </tr>
    </table>
  </div>

  <div class="row" style="padding-bottom: 150px;">
    <div class="col-xs-12 text-right">
      <hr />
      <div class="btn btn-primary" ng-click="enregistrerConfigHistorique()">
        Enregistrer
      </div>
    </div>
  </div>
</div>
