<%= render :partial=>"form", :locals => {:organisation => @organisation} %>

Gateway Config List

<% (@gateway_configs || []).each do |config|%> <% c = config.config_hash%> <% end %>
Enable Gateway Gateway Type Details Actions
<%= check_box_tag(:is_enabled, true, config.is_enabled,{"data-url"=>change_enable_state_organisation_index_path(:gateway_config_id => config.id),:id => "is_enabled_#{config.id}", :class => "list-is-enabled"}) %> <%= GatewayConfig::GATEWAY_TYPE[config.gateway_type]%> <%= config.gateway_type == "1" ? GatewayConfig::SMS_TYPE[config.gateway] : GatewayConfig::EMAIL_TYPE[config.gateway]%> <% if config.gateway_type == "1" -%> <%= c['a_id']%>
<%= c['ph_no']%>
<%= c['auth_token'] %> <% else -%> <%= c['address']%>
<%= c['domain']%>
<%= c['port']%>
<%=c['auth_type']%> <% end -%>
<%= link_to 'Edit', organisation_index_path(:id => config.id),:class=>"label label-info"%> <%= link_to 'Delete', organisation_path(config), method: :delete, data: { confirm: 'Are you sure you want to delete?' }, :class => "label label-danger" %>
<%= render :partial => "monitoring/top_bar" %>