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:
Sonu Saha 2022-02-15 20:20:12 +05:30
parent a71986d86e
commit 6e9fa3dbd0

View file

@ -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 %>