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