diff --git a/app/views/assistants/show.html.erb b/app/views/assistants/show.html.erb
index 6025b86..a786339 100644
--- a/app/views/assistants/show.html.erb
+++ b/app/views/assistants/show.html.erb
@@ -1,17 +1,7 @@
<% content_for :title, @assistant.name %>
-
-
-
- <%= link_to "Assistants", assistants_path, class: "text-sky-500 hover:text-sky-800" %>
-
- /
-
- <%= link_to @assistant.name, assistant_path(@assistant), class: "text-sky-500 hover:text-sky-800" %>
-
-
-
+ <%= render partial: 'shared/breadcrumb', locals: { breadcrumbs: [['Home', root_path], ['Assistants', assistants_path], [@assistant.name, assistant_path(@assistant)]] } %>
@@ -19,10 +9,23 @@
<%= render partial: 'assistant_badge', locals: { assistant: @assistant } %>
<%= render partial: 'shared/meta_info', locals: { email: @assistant.user ? @assistant.user.email : "admin", created_at: @assistant.created_at, updated_at: @assistant.updated_at } %>
-
+ <% if policy(@assistant).edit? %>
+
+ <%= render partial: 'shared/button_group', locals: { buttons: { "Edit" => edit_assistant_path(@assistant) } } %>
+
+ <%= button_to @assistant, method: :delete, data: { confirm: 'Are you sure?' }, class: 'ml-3 text-red-500 hover:text-red-800 flex items-center' do %>
+
+
+
+ <% end %>
+
+
+ <% end %>
+
+
- <%= link_to new_assistant_chat_path(@assistant), class: "rounded-lg py-3 px-5 bg-sky-800 inline-flex items-center font-medium text-white" do %>
+ <%= link_to new_assistant_chat_path(@assistant), class: "rounded-lg py-3 px-5 bg-sky-500 inline-flex items-center font-medium text-white" do %>
@@ -30,11 +33,5 @@
<% end %>
-
- <% if policy(@assistant).edit? %>
- <%= link_to "Edit", edit_assistant_path(@assistant), class: "mt-2 rounded-lg py-3 px-5 bg-gray-300 font-medium inline-block" %>
- <%= button_to "Delete", @assistant, method: :delete, class: "mt-2 rounded-lg py-3 px-5 bg-gray-300 font-medium inline-block" %>
- <% end %>
-
<%= render @assistant %>
\ No newline at end of file
diff --git a/app/views/messages/_message.html.erb b/app/views/messages/_message.html.erb
index b3e4e75..d905841 100644
--- a/app/views/messages/_message.html.erb
+++ b/app/views/messages/_message.html.erb
@@ -3,12 +3,13 @@
<% if message.from == 'user' %>
- <%= message.user.email %>
+ <%= message.user.email %>
<% elsif message.from == 'assistant' %>
- <%= message.chat.assistant.name %>
+ <%= message.chat.assistant.name %>
<% else %>
- <%= message.from %>
+ <%= message.from %>
<% end %>
+ | <%= message.created_at %>
<% if message.status === 'generating' %>
@@ -18,7 +19,6 @@
<% if !message.user? %>