Sha256: 892f642f366cf13c8f885ff2587ff906b525517baa10d956d3adcb5d15e2980a
Contents?: true
Size: 1.32 KB
Versions: 15
Compression:
Stored size: 1.32 KB
Contents
<div class="table-responsive"> <table class="table table-hover members-table middle-align"> <thead> <tr> <th style="text-align: center;width:60px">#</th> <th>Name</th> <th>Code</th> <% if display_manage_links? %> <th style="text-align: center;">Actions</th> <% end %> </tr> </thead> <tbody> <% @section_types.each_with_index do |section_type, i| %> <tr id="tr_section_type_<%= section_type.id %>"> <th scope="row" style="text-align: center;"> <% if i < 0 %> <i class="fa fa-check text-success"></i> <% else %> <%= i + 1 + (@per_page.to_i * (@current_page.to_i - 1)) %> <% end %> </th> <td class="section_type-name"><%= link_to section_type.display_name, section_type_path(section_type), remote: true %></td> <td class="section_type-name"><%= link_to section_type.code, section_type_path(section_type), remote: true %></td> <% if display_manage_links? %> <td class="action-links hidden-sm hidden-xs" style="width:10%"> <%= display_manage_links(section_type, @current_user) %> </td> <% end %> </tr> <% end %> </tbody> </table> </div> <div class="row"> <div class="col-sm-12"> <%= paginate_kuppayam(@section_types) %> </div> </div>
Version data entries
15 entries across 15 versions & 1 rubygems