<tr>
  <td><%= metric_configuration.metric.name %></td>
  <td><%= metric_configuration.metric.code %></td>
  <% unless metric_configuration.metric.is_a? KalibroClient::Entities::Miscellaneous::HotspotMetric %>
    <td><%= metric_configuration.weight %></td>
  <% end %>
  <td>
    <%= link_to_show_page(metric_configuration, @kalibro_configuration.id) %>
  </td>
  <% if kalibro_configuration_owner? @kalibro_configuration.id %>
    <td>
      <%= link_to_edit_form(metric_configuration, @kalibro_configuration.id) %>
    </td>
    <td>
      <%= link_to t_action(:destroy, MetricConfiguration), kalibro_configuration_metric_configuration_path(@kalibro_configuration.id, metric_configuration.id),
                   method: :delete, data: { confirm: t('want_destroy_metric_configuration') },
                   class: 'btn btn-danger' %>
    </td>
  <% end %>
</tr>

<tr>
  <td><%= metric_configuration.metric.name %></td>
  <td><%= metric_configuration.metric.code %></td>
  <% unless metric_configuration.metric.is_a? KalibroClient::Entities::Miscellaneous::HotspotMetric %>
    <td><%= metric_configuration.weight %></td>
  <% end %>
  <td>
    <%= link_to_show_page(metric_configuration, @kalibro_configuration.id) %>
  </td>
  <% if kalibro_configuration_owner? @kalibro_configuration.id %>
    <% if metric_configuration.metric.type != "HotspotMetricSnapshot" %>
      <td>
        <%= link_to_edit_form(metric_configuration, @kalibro_configuration.id) %>
      </td>
    <% end %>
    <td>
    <%= link_to t_action(:destroy, MetricConfiguration), kalibro_configuration_metric_configuration_path(@kalibro_configuration.id, metric_configuration.id),
        method: :delete, data: { confirm: t('want_destroy_metric_configuration') },
        class: 'btn btn-danger' %>
    </td>
  <% end %>
</tr>

Remove edit button from metric configuration list
Remove edit button from metric configuration list

There are no attributes to be edited on a hotspot metric configuration

Signed off by: Diego Araújo <diegoamc90@gmail.com>
