comparison src/view_course.html.luan @ 52:27758f3b2d69

add hide_ruby
author Franklin Schmidt <fschmidt@gmail.com>
date Sat, 16 Aug 2025 09:56:10 +0900
parents 85c5f62070d8
children 6c78fd83518f
comparison
equal deleted inserted replaced
51:4581a20b8124 52:27758f3b2d69
49 <% if is_owner then %> 49 <% if is_owner then %>
50 - <a href="edit_course.html?course=<%=course.id%>">Edit</a> 50 - <a href="edit_course.html?course=<%=course.id%>">Edit</a>
51 <% end %> 51 <% end %>
52 </p> 52 </p>
53 53
54 <p><input type=checkbox name=has_ruby <%= course.has_ruby and "checked" or "" %> disabled> Has pronunciation like {japanese|romaji}</p>
55
54 <h4>AI system prompt</h4> 56 <h4>AI system prompt</h4>
55 <pre><%=html_encode(course.ai_system_prompt)%></pre> 57 <pre><%=html_encode(course.ai_system_prompt)%></pre>
56 58
57 <h4>AI first message (optional)</h4> 59 <h4>AI first message (optional)</h4>
58 <pre><%=html_encode(course.ai_first_message)%></pre> 60 <pre><%=html_encode(course.ai_first_message)%></pre>