<h1>
  <span translate="settings.workflow.title"></span>
  <a class="btn btn-primary" href="#/settings/workflow/add">{{ 'settings.workflow.add_workflow' | translate }}</a>
</h1>

<div class="row">
  <div class="col-md-4 well">
    <table class="table table-hover table-users">
      <thead>
        <tr>
          <th>{{ 'settings.workflow.name' | translate }}</th>
          <th>{{ 'settings.workflow.create_date' | translate }}</th>
        </tr>
      </thead>
      <tbody>
        <tr ng-repeat="workflow in workflows | orderBy: 'name'" ng-click="editWorkflow(workflow)"
            ng-class="{ active: $stateParams.id == workflow.id }">
          <td>{{ workflow.name }}</td>
          <td>{{ workflow.create_date | date: dateFormat }}</td>
        </tr>
      </tbody>
    </table>
  </div>

  <div class="col-md-8">
    <div ui-view="workflow"></div>
  </div>
</div>