Skip to content

Commit

Permalink
Fix(VMs table): Ruby comment instead of HTML comments
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisma committed Mar 19, 2019
1 parent 08e269d commit d56d25b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/views/vms/_table.erb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
<% unless buttons.nil? %>
<th scope="col">Actions</th>
<% end %>
<th scope="col" class="d-none">Description</th> <!-- This is not intended to be shown, just important for the search functionality -->
<%# Element hidden, used for search %>
<th scope="col" class="d-none">Description</th>
</tr>
</thead>
<tbody id="vms">
Expand Down Expand Up @@ -47,9 +48,8 @@
<%= render buttons.to_s, vm: vm %>
</td>
<% end %>
<td class="d-none"> <!-- Also not intended to be shown! -->
<%= vm.config&.description %>
</td>
<%# Element hidden, used for search %>
<td class="d-none"><%= vm.config&.description %></td>
</tr>
<% end %>
</tbody>
Expand Down

0 comments on commit d56d25b

Please sign in to comment.