<%unless @noti_group_list.blank?%>

Notification Group List

<% if can? :manage,NotificationGroup %><%end%> <%@noti_group_list.each do |group|%> <% unless group.notification_type == "webhook" %> <%#= group.users.map{|u| p u.email}.join(',') %> <% if can? :manage,NotificationGroup-%> <% end -%> <% end %> <%end%>
Notification Name Notification Type Selected Users Custom Email Custom MobileActions
<%= group.name %> <%= group.notification_type.try(:camelcase) %> <% group.users.each do |u| %> <%= u.email %> <% end -%> <%= group.email %> <%= group.mobile %> <%= 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%>