Sha256: 87e02bf9e0a571c488d348ac22fef419b096ba52078053f1f5736c28428e9ed6
Contents?: true
Size: 630 Bytes
Versions: 2
Compression:
Stored size: 630 Bytes
Contents
<% button_class = @feature.destroyable? ? 'btn btn-danger' : 'btn btn-danger disabled' confirmation_message = "Are you sure? The feature and all associated rules and \ decisions will be permanently deleted." %> <% unless @feature.destroyable? %> <div class="tooltip-wrapper" data-title="For deletion, the rules must be set to 100% or 0% for all groups. After setting the rule percentages, refresh this page."> <% end %> <%= link_to "Delete Flag", admin_feature_path(@feature.id), class: button_class, data: { confirm: confirmation_message }, method: :delete %> <% unless @feature.destroyable? %> </div> <% end %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
green_flag-0.4.0 | app/views/green_flag/admin/features/_delete_flag_button.html.erb |
green_flag-0.3.0 | app/views/green_flag/admin/features/_delete_flag_button.html.erb |