Sha256: 848bedad647548caee38cb26e1e557e9ba40d1cf11f59586b5d6e1c5a4d14aaf
Contents?: true
Size: 1.03 KB
Versions: 44
Compression:
Stored size: 1.03 KB
Contents
<% if params.key?("error") %> <div class="alert alert-danger"> <%= params["error"] %> </div> <% end %> <div class="card"> <h4 class="card-header">Enable Group for <%= @feature.key %></h4> <div class="card-body"> <% if @feature.disabled_groups.empty? %> <p>All groups are enabled for this feature which means there is nothing to add.</p> <% else %> <p> Turn on this feature for an entire group of actors. </p> <form action="<%= script_name %>/features/<%= @feature.key %>/groups" method="post" class="form-inline"> <%== csrf_input_tag %> <input type="hidden" name="operation" value="enable"> <select name="value" class="form-control mr-2"> <option value="">Select a group...</option> <% @feature.disabled_groups.each do |group| %> <option value="<%= group.name %>"><%= group.name %></option> <% end %> </select> <input type="submit" value="Add Group" class="btn btn-primary"> </form> <% end %> </div> </div>
Version data entries
44 entries across 44 versions & 1 rubygems