mirror of
https://github.com/inspec/inspec
synced 2024-11-23 13:13:22 +00:00
CFINSPEC-44 : Add missing description to Control table in control.html.erb
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
This commit is contained in:
parent
a71986d86e
commit
6e9fa3dbd0
1 changed files with 1 additions and 0 deletions
|
@ -26,6 +26,7 @@
|
||||||
|
|
||||||
<h3 class="control-title">Control <code><%= control.id %></code></h3>
|
<h3 class="control-title">Control <code><%= control.id %></code></h3>
|
||||||
<table class="control-metadata info" id="control-metadata-<%= slugged_id %>">
|
<table class="control-metadata info" id="control-metadata-<%= slugged_id %>">
|
||||||
|
<caption>Control Table</caption>
|
||||||
<tr class="status status-<%= status %>"><th>Status:</th><td><div><%= status.capitalize %></div></td></tr>
|
<tr class="status status-<%= status %>"><th>Status:</th><td><div><%= status.capitalize %></div></td></tr>
|
||||||
<% if control.title %><tr class="title"><th>Title:</th><td><%= control.title %></td></tr> <% end %>
|
<% if control.title %><tr class="title"><th>Title:</th><td><%= control.title %></td></tr> <% end %>
|
||||||
<% if control.desc %><tr class="desc"><th>Description:</th><td><%= control.desc %></td></tr> <% end %>
|
<% if control.desc %><tr class="desc"><th>Description:</th><td><%= control.desc %></td></tr> <% end %>
|
||||||
|
|
Loading…
Reference in a new issue