Move "Choose one" label outside billing box
The exclusive billing provider indicator now appears above the bordered selection box rather than inside it.
This commit is contained in:
parent
cc6dfab889
commit
326932b68e
1 changed files with 8 additions and 8 deletions
|
|
@ -36,15 +36,15 @@
|
|||
Enum.find(category.providers, fn p ->
|
||||
@integrations[p.id] && @integrations[p.id].enabled
|
||||
end) %>
|
||||
<div class="mb-4 flex items-center gap-2">
|
||||
<span class="inline-flex items-center gap-1 rounded-full bg-indigo-100 px-3 py-1 text-xs font-semibold text-indigo-700 dark:bg-indigo-900/40 dark:text-indigo-300">
|
||||
<.icon name="hero-arrow-path" class="h-3.5 w-3.5" /> Choose one
|
||||
</span>
|
||||
<span class="text-xs text-gray-500 dark:text-gray-400">
|
||||
— only one billing platform can be active at a time
|
||||
</span>
|
||||
</div>
|
||||
<div class="rounded-lg border-2 border-indigo-200 bg-white p-6 dark:border-indigo-800/50 dark:bg-white/5">
|
||||
<div class="mb-4 flex items-center gap-2">
|
||||
<span class="inline-flex items-center gap-1 rounded-full bg-indigo-100 px-3 py-1 text-xs font-semibold text-indigo-700 dark:bg-indigo-900/40 dark:text-indigo-300">
|
||||
<.icon name="hero-arrow-path" class="h-3.5 w-3.5" /> Choose one
|
||||
</span>
|
||||
<span class="text-xs text-gray-500 dark:text-gray-400">
|
||||
— only one billing platform can be active at a time
|
||||
</span>
|
||||
</div>
|
||||
<%= if active_billing do %>
|
||||
<%!-- Active billing provider --%>
|
||||
<% integration = @integrations[active_billing.id] %>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue