<% if params.key?("error") %>
<%= params["error"] %>
<% end %> <% if @feature.description %>
<%== Sanitize.fragment(@feature.description, Sanitize::Config::BASIC) %>
<% end %>
<%# Gate State Header %>
<%= @feature.gate_state_title %>
<% unless @feature.boolean_value %> <%# Actors Info and Form %>
"> <% if @feature.actors_value.count > 0 %> Enabled for <%= Util.pluralize @feature.actors_value.count, 'actor', 'actors' %> <% else %> No actors enabled <% end %>
<%== csrf_input_tag %>
<%# Actors list %> <% @feature.actors_value.each do |item| %>
<%= item %>
<%== csrf_input_tag %>
<% end %> <%# Groups Info and Form %>
"> <% if @feature.groups_value.count > 0 %> Enabled for <%= Util.pluralize @feature.groups_value.count, 'group', 'groups' %> <% else %> No groups enabled <% end %>
<% if @feature.disabled_groups.empty? %> All groups enabled. <% else %>
<%== csrf_input_tag %>
<% end %>
<%# Groups list %> <% @feature.groups_value.each do |item| %>
<%= item %>
<%== csrf_input_tag %>
<% end %> <%# % of Actors %>
0 %>">Enabled for <%= @feature.percentage_of_actors_value %>% of actors
<%== csrf_input_tag %>
<% @percentages.each do |number| %> disabled<% end %>> <% end %>
<%== csrf_input_tag %> 0 %>value="<%= @feature.percentage_of_actors_value %>"<% end %> placeholder="custom (26, 32, etc.)" class="form-control form-control-sm mr-sm-2 mb-2 mb-md-0">
<%# % of Time %>
0 %>">Enabled for <%= @feature.percentage_of_time_value %>% of time
<%== csrf_input_tag %>
<% @percentages.each do |number| %> disabled<% end %>> <% end %>
<%== csrf_input_tag %> 0 %>value="<%= @feature.percentage_of_time_value %>"<% end %> placeholder="custom (26, 32, etc.)" class="form-control form-control-sm mr-sm-2 mb-2 mb-md-0">
<% end %>
<%== csrf_input_tag %>
<% unless @feature.boolean_value %>
<% end %> <% unless @feature.off? %>
<% end %>
<% if Flipper::UI.configuration.feature_removal_enabled %>

<%= Flipper::UI.configuration.delete.title %>

<%= Flipper::UI.configuration.delete.description %>

<%== csrf_input_tag %>
<% end %>