Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <table class="table table-bordered table-striped table-hover table-condensed">
- <thead>
- <tr>
- <th data-sortable="true">Job Code</th>
- <th data-sortable="true">Percentage</th>
- </tr>
- </thead>
- <tbody>
- <% @chart_query.each do |item| %>
- <tr>
- <td><%= item.attributes['Job Code'] %></td>
- <td><%= item.attributes['Percentage'].round(2) %>%</td>
- </tr>
- <% end %>
- </tbody>
- </table>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement