<% template, imported = release_template.template, release_template.already_imported? %>

<tr class="<%= class_string("table-dark" => imported) %>">
  <td>
      <% if imported %>
        <div class="text-danger"><%= fa_icon('ban') %></div>
      <% else %>
        <%= check_box_tag "template_ids[]", template.id, false %>
      <% end %>
  </td>
  <td>
    <%= template.name %>
  </td>
  <td>
    <%= release_type_title(template.release_type) %>
  </td>
  <td>
    <%= template.project.name %>
  </td>
</tr>
