mirror of
https://github.com/we-promise/sure.git
synced 2026-04-20 12:34:12 +00:00
Component namespacing (#2463)
* [claudesquad] update from 'component-namespacing' on 18 Jul 25 07:23 EDT * [claudesquad] update from 'component-namespacing' on 18 Jul 25 07:30 EDT * Update stimulus controller references to use namespace * Fix remaining tests
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
|
||||
<div class="mt-4 md:mt-0">
|
||||
<% if Current.user.otp_required? %>
|
||||
<%= render ButtonComponent.new(
|
||||
<%= render DS::Button.new(
|
||||
text: t(".disable_mfa"),
|
||||
variant: "secondary",
|
||||
href: disable_mfa_path,
|
||||
@@ -34,7 +34,7 @@
|
||||
)
|
||||
) %>
|
||||
<% else %>
|
||||
<%= render LinkComponent.new(
|
||||
<%= render DS::Link.new(
|
||||
text: t(".enable_mfa"),
|
||||
variant: "primary",
|
||||
href: new_mfa_path
|
||||
|
||||
Reference in New Issue
Block a user