mirror of
https://github.com/we-promise/sure.git
synced 2026-04-19 12:04:08 +00:00
Add Intro UI feature flag
This commit is contained in:
@@ -10,10 +10,10 @@
|
||||
|
||||
<%= form.select :role,
|
||||
options_for_select([
|
||||
(Flipper.enabled?(:intro_ui) ? [t(".role_guest"), "guest"] : nil),
|
||||
[t(".role_member"), "member"],
|
||||
[t(".role_guest", default: "Guest"), "guest"],
|
||||
[t(".role_admin"), "admin"]
|
||||
]),
|
||||
].compact),
|
||||
{},
|
||||
{ label: t(".role_label") } %>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user