From 58259f006a6afeac7fa7c4b8f3c3b9a9914eef40 Mon Sep 17 00:00:00 2001 From: Jason Zimdars Date: Thu, 14 Aug 2025 13:47:03 -0500 Subject: [PATCH] Clean up prompt sandbox view, especially for dark mode --- .../admin/prompt_sandboxes/show.html.erb | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/app/views/admin/prompt_sandboxes/show.html.erb b/app/views/admin/prompt_sandboxes/show.html.erb index ee3403025..be745ae53 100644 --- a/app/views/admin/prompt_sandboxes/show.html.erb +++ b/app/views/admin/prompt_sandboxes/show.html.erb @@ -1,39 +1,39 @@ -
-

Prompt Debug

+
+

Prompt Debug

<%= form_with url: admin_prompt_sandbox_path, method: :post do |form| %> -
+
<%= form.label :prompt, "Prompt:" %> - <%= form.text_area :prompt, value: @prompt, rows: 20, cols: 80, style: "width: 100%; font-family: monospace;" %> + <%= form.text_area :prompt, value: @prompt, rows: 20, cols: 80, class: "input" %>
-
+
<%= form.label :day, "Date:" %> - <%= form.date_field :day, value: @day_timeline.day.to_date %> + <%= form.date_field :day, value: @day_timeline.day.to_date, class: "input" %>
-
+
<%= form.label :llm_model, "LLM Model:" %> <%= form.select :llm_model, options_for_select(llm_model_options, @llm_model), - {} %> + {}, class: "input input--select" %>
- <%= form.submit "Generate Summary", class: "btn btn-primary" %> + <%= form.submit "Generate Summary", class: "btn btn--link" %>
<% end %> -
-

Summary

+
+

Summary

<%= @activity_summary&.to_html %>
-
-

Summarized Contents

+
+

Summarized Contents

 <%= @day_timeline.summarizable_content %>