Skip to content

Commit

Permalink
EN-7354 templating
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-entourage committed Dec 16, 2024
1 parent 6fdb102 commit 198790e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/views/admin/openai_assistants/_edit_header.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
<li><%= link_to "openai_assistants", admin_openai_assistants_path %></li>
<li class="active">Modifier</li>
<li style="float: right;">
Version <%= @openai_assistant.version %>
Module <%= @openai_assistant.module_type %>
</li>
</ol>

<h2>
<span class="text-muted"># Version <%= @openai_assistant.version %></span>
<span class="text-muted"># Module <%= @openai_assistant.module_type %></span>
</h2>
</div>
4 changes: 2 additions & 2 deletions app/views/admin/openai_assistants/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<% unless @openai_assistants.none? %>
<table class="table custom-table">
<thead>
<th>Version</th>
<th>Module</th>
<th>Prompt</th>
<th>poi_from_file</th>
<th>resource_from_file</th>
Expand All @@ -17,7 +17,7 @@
<% parite = i.even? ? 'pair' : 'impair' %>

<tr class="above-row row-<%= parite %>">
<td><%= link_to openai_assistant.version, edit_admin_openai_assistant_path(openai_assistant) %></td>
<td><%= link_to openai_assistant.module_type, edit_admin_openai_assistant_path(openai_assistant) %></td>
<td><%= link_to openai_assistant.prompt, edit_admin_openai_assistant_path(openai_assistant) %></td>
<td><%= openai_assistant.poi_from_file %></td>
<td><%= openai_assistant.resource_from_file %></td>
Expand Down

0 comments on commit 198790e

Please sign in to comment.