Sha256: 088d7f948b840c4ec61162f43a2d2d601dc584646b7140e23529f2119e1c87cb

Contents?: true

Size: 678 Bytes

Versions: 7

Compression:

Stored size: 678 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="ie: User:6" class="form-control mr-2">
      <input type="submit" value="Add Actor" class="btn btn-light">
    </form>
  </div>
</div>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
flipper-ui-0.16.2 lib/flipper/ui/views/add_actor.erb
flipper-ui-0.16.1 lib/flipper/ui/views/add_actor.erb
flipper-ui-0.16.0 lib/flipper/ui/views/add_actor.erb
flipper-ui-0.15.0 lib/flipper/ui/views/add_actor.erb
flipper-ui-0.14.0 lib/flipper/ui/views/add_actor.erb
flipper-ui-0.13.0 lib/flipper/ui/views/add_actor.erb
flipper-ui-0.13.0.beta1 lib/flipper/ui/views/add_actor.erb