<%unless @noti_group_list.blank?%>

Notification Group List(Webhook)

<% if can? :manage, NotificationGroup %><%end%> <%@noti_group_list.each do |group|%> <% if group.notification_type == "webhook" %> <% if can? :manage,NotificationGroup-%> <% end -%> <% end %> <%end%>
Notification Name Notification Type Webhook Name Webhook EndpointsActions
<%= group.name %> <%= group.notification_type.try(:camelcase) %> <% group.webhook_endpoints.each do |wbhk| %> <%= wbhk.name %> <% end -%> <% group.webhook_endpoints.each do |wbhk| %> <%= wbhk.url %> <% end -%> <%= link_to 'Edit', notification_group_alerts_path(:notification_group_id => group.id), :class => "label label-info" %> <%= link_to 'Destroy', delete_notification_group_alerts_path(:notification_group_id => group.id), method: :delete, data: { confirm: 'Are you sure you want to delete?' },:class=>"label label-danger" %>
<%end%>