<td>
<%= temp_sub_role_from.title%>

<ul>
<% temp_sub_role_from.attribute_fields.each do |af| %>
    <li><%= af.block_helper(@user,@form_index) %></li>
    <% @form_index = @form_index +1 %>
<% end %>
</ul>
</td>