<table class="table main-list" id="roles_index"> <thead> <tr class="sort-header"> <th colspan="2" class="span4 active"><a href="#"><%= t("#{@attribute_type}") %><b class="icons-arrow-down-4"></b></a></th> </tr> </thead> <tbody> <%= render partial: 'admin/attributes/attribute', collection: @attributes %> </tbody> </table>