mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-09 15:35:22 +02:00
* [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
18 lines
527 B
Text
18 lines
527 B
Text
<%# locals: (chat:) %>
|
|
|
|
<div id="chat-error" class="px-3 py-2 bg-red-100 border border-red-500 rounded-lg">
|
|
<% if chat.debug_mode? %>
|
|
<div class="overflow-x-auto text-xs p-4 bg-red-200 rounded-md mb-2">
|
|
<code><%= chat.error %></code>
|
|
</div>
|
|
<% end %>
|
|
|
|
<div class="flex items-center justify-between gap-2">
|
|
<p class="text-xs text-red-500">Failed to generate response. Please try again.</p>
|
|
|
|
<%= render DS::Button.new(
|
|
text: "Retry",
|
|
href: retry_chat_path(chat),
|
|
) %>
|
|
</div>
|
|
</div>
|