<% can_delete = herbarium.can_delete_curator?(@user) || is_in_admin_mode? %>

<table class="table-striped table-curators">
  <thead>
    <tr>
      <th colspan="<%= can_delete ? 2 : 1 %>">
        <%= pluralize(herbarium.curators.length, :herbarium_curator.t) + ":" %>
      </th>
    </tr>
  </thead>
  <tbody>
    <% herbarium.curators.each do |user| %>
      <tr>
        <% if can_delete %>
          <td>
            <%= link_to("X", {action: :delete_curator, id: herbarium.id, user: user.id},
                             {data: {confirm: :are_you_sure.t}}) %>
          </td>
        <% end %>
        <td>
          <%= user_link(user, user.legal_name) %>
        </td>
      </tr>
    <% end %>
  </tbody>
</table>

<% can_delete = herbarium.can_delete_curator?(@user) || is_in_admin_mode? %>

<table class="table-striped table-curators">
  <thead>
    <tr>
      <th colspan="<%= can_delete ? 2 : 1 %>">
        <%= pluralize(herbarium.curators.length, :herbarium_curator.t) + ":" %>
      </th>
    </tr>
  </thead>
  <tbody>
    <% herbarium.curators.each do |user| %>
      <tr>
        <% if can_delete %>
          <td>
            <%= link_to("X ", {action: :delete_curator, id: herbarium.id, user: user.id},
                             {data: {confirm: :are_you_sure.t}}) %>
          </td>
        <% end %>
        <td>
          <%= user_link(user, user.legal_name) %>
        </td>
      </tr>
    <% end %>
  </tbody>
</table>

Add space after x in remove curator on herbarium.
Add space after x in remove curator on herbarium.
