2024-07-16 20:22:59 +02:00
|
|
|
<div id="<%= dom_id element %>" class="mt-3">
|
|
|
|
|
<h2><i class="bi bi-card-checklist me-2"></i>
|
|
|
|
|
<%= element.title %></h2>
|
|
|
|
|
<p>
|
|
|
|
|
<strong>Path:</strong>
|
|
|
|
|
<%= element.path %>
|
|
|
|
|
</p>
|
|
|
|
|
|
2024-07-19 02:29:18 +02:00
|
|
|
<%= element.description_html %>
|
|
|
|
|
|
2024-07-16 20:22:59 +02:00
|
|
|
<% element.success_criteria.each do |sc| %>
|
2024-07-19 02:29:18 +02:00
|
|
|
<%= turbo_frame_tag(dom_id(sc, :frame)) do %>
|
|
|
|
|
<%= render sc %>
|
|
|
|
|
<% end %>
|
2024-07-16 20:22:59 +02:00
|
|
|
<% end %>
|
|
|
|
|
</div>
|