28 lines
476 B
Text
28 lines
476 B
Text
<div id="<%= dom_id checklist %>">
|
|
<p>
|
|
<strong>Code:</strong>
|
|
<%= checklist.code %>
|
|
</p>
|
|
|
|
<p>
|
|
<strong>Name:</strong>
|
|
<%= checklist.name %>
|
|
</p>
|
|
|
|
<p>
|
|
<strong>Description (formatted):</strong>
|
|
<%= checklist.description_html %>
|
|
</p>
|
|
|
|
<p>
|
|
<strong>Checks</strong>
|
|
<ul>
|
|
<% checklist.checklist_entries.each do |entry| %>
|
|
<li>
|
|
<%= entry.position %> <%= entry.check.name %>
|
|
</li>
|
|
<% end %>
|
|
</ul>
|
|
</p>
|
|
|
|
</div>
|