<div class="col-md-1">
    {{ fa-icon "pencil" class='bo-doc-edit-icons' click=(action "toggleEditContributors")}}
    <!--span class="glyphicon glyphicon-pencil bo-doc-edit-icons"></span-->
</div>
<div class="col-md-11">
  <div class="row">
    <div class="col-md-12 content-title">{{t 'bo.document_contributors'}}</div>
  </div>
  <div class="row" id="doc-contributors-list-pane">
    <div class="col-md-12 content-value">{{#each document.contributors as |contrib index|}}{{bo-doc-contributor-list-item contrib=contrib index=index}}{{/each}}</div>
  </div>
  <div class="row" id="doc-contributors-table-pane">
    <div class="col-md-12 panel panel-default">
      {{#if isEditing}}
      <table class="table table-striped table-condensed">
        <thead>
          <tr>
            <th class="col-md-1">#</th>
            <th class="col-md-5">{{t 'bo.contributors_th_name'}}</th>
            <th class="col-md-3">{{t 'bo.contributors_th_url'}}</th>
            <th class="col-md-2">{{t 'bo.contributors_th_role'}}</th>
            <th class="col-md-1">{{t 'bo.contributors_th_actions'}}</th>
          </tr>
        </thead>
        <tbody>
        {{#each document.contributors as |contrib index|}}
          {{bo-doc-contributor-row removeContributor=(action 'removeContributor') saveContributor=(action 'saveContributor') contrib=contrib index=index}}
        {{/each}}
        </tbody>
        <tfoot>
          {{bo-doc-new-contributor onAdd=(action 'addNewContributor')}}
        </tfoot>
      </table>
      {{/if}}
    </div>
  </div>
</div>
