x
<div class="Polaris-Card">
<div class="Polaris-Card__Section">
<div class="Polaris-SettingAction">
<div class="Polaris-SettingAction__Setting">
This setting is <span class="Polaris-TextStyle--variationStrong">deactivated</span>.
</div>
<div class="Polaris-SettingAction__Action">
<button type="button" data-controller="polaris-button" class="Polaris-Button Polaris-Button--primary">
<span class="Polaris-Button__Content">
<div class="Polaris-Button__Text">
Activate
</div>
</span>
</button>
</div>
</div>
</div>
</div>
<div class="Polaris-Card">
<div class="Polaris-Card__Section">
<div class="Polaris-SettingAction">
<div class="Polaris-SettingAction__Setting">
This setting is <span class="Polaris-TextStyle--variationStrong">activated</span>.
</div>
<div class="Polaris-SettingAction__Action">
<button type="button" data-controller="polaris-button" class="Polaris-Button">
<span class="Polaris-Button__Content">
<div class="Polaris-Button__Text">
Deactivate
</div>
</span>
</button>
</div>
</div>
</div>
</div>
<%= polaris_setting_toggle(enabled: false) do |toggle| %>
<% toggle.action { "Activate" } %>
This setting is <%= polaris_text_strong { "deactivated" } %>.
<% end %>
<%= polaris_setting_toggle(enabled: true) do |toggle| %>
<% toggle.action { "Deactivate" } %>
This setting is <%= polaris_text_strong { "activated" } %>.
<% end %>
No notes provided.
No params configured.