ManageIQ/manageiq-ui-classic

View on GitHub
app/views/report/_db_widget_remove.html.haml

Summary

Maintainability
Test Coverage
-#
  Parameters:
    widget      MiqWidget object
= link_to({:controller => "report", :action => "db_widget_remove", :id => @dashboard.id || 'new', :widget => widget.id},
  "data-miq_sparkle_on" => true,
  :remote               => true,
  "data-method"         => :post,
  :id                   => "w_#{widget.id}_close",
  :title                => _("Remove this widget"),
  :class                => "pull-right") do
  %i.fa.fa-remove