Sha256: 90f07e1e255f06b4ebf3cfa1d88bbe8035872789541233502e1cabf5bfed7fcc

Contents?: true

Size: 724 Bytes

Versions: 16

Compression:

Stored size: 724 Bytes

Contents

<% if params.key?("error") %>
  <div class="alert alert-danger">
    <%= params["error"] %>
  </div>
<% end %>

<div class="card">
  <h4 class="card-header">Enable Actor for <%= @feature.key %></h4>
  <div class="card-body">
    <p>
      Turn on this feature for an individual actor.
    </p>
    <form action="<%= script_name %>/features/<%= @feature.key %>/actors" method="post" class="form-inline">
      <%== csrf_input_tag %>
      <input type="hidden" name="operation" value="enable">
      <input type="text" name="value" placeholder="<%= Flipper::UI.configuration.add_actor_placeholder %>" class="form-control mr-2">
      <input type="submit" value="Add Actor" class="btn btn-primary">
    </form>
  </div>
</div>

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
flipper-ui-0.22.1 lib/flipper/ui/views/add_actor.erb
flipper-ui-0.22.0 lib/flipper/ui/views/add_actor.erb
flipper-ui-0.21.0 lib/flipper/ui/views/add_actor.erb
flipper-ui-0.21.0.rc2 lib/flipper/ui/views/add_actor.erb
flipper-ui-0.21.0.rc1 lib/flipper/ui/views/add_actor.erb
flipper-ui-0.20.4 lib/flipper/ui/views/add_actor.erb
flipper-ui-0.20.3 lib/flipper/ui/views/add_actor.erb
flipper-ui-0.20.2 lib/flipper/ui/views/add_actor.erb
flipper-ui-0.20.1 lib/flipper/ui/views/add_actor.erb
flipper-ui-0.20.0 lib/flipper/ui/views/add_actor.erb
flipper-ui-0.20.0.beta3 lib/flipper/ui/views/add_actor.erb
flipper-ui-0.20.0.beta2 lib/flipper/ui/views/add_actor.erb
flipper-ui-0.20.0.beta1 lib/flipper/ui/views/add_actor.erb
flipper-ui-0.19.1 lib/flipper/ui/views/add_actor.erb
flipper-ui-0.19.0 lib/flipper/ui/views/add_actor.erb
flipper-ui-0.18.0 lib/flipper/ui/views/add_actor.erb