Sha256: 3daf23a750228fc038ac76298883e616faad3b1d350e153d645128f3e10c4b0f
Contents?: true
Size: 878 Bytes
Versions: 38
Compression:
Stored size: 878 Bytes
Contents
<ul class="nav nav-tabs" id="admin-menu-tab"> <%= content_tag :li, link_to(t('all'), comments_path), ({ class: 'active' } if controller.action_name.to_s == 'index' ) %> <%= content_tag :li, link_to(t('comments.status.pending'), pending_comments_path), ({ class: 'active' } if controller.action_name.to_s == 'pending' ) %> <%= content_tag :li, link_to(t('comments.status.accepted'), accepted_comments_path), ({ class: 'active' } if controller.action_name.to_s == 'accepted' ) %> <%= content_tag :li, link_to(t('comments.status.blocked'), blocked_comments_path), ({ class: 'active' } if controller.action_name.to_s == 'blocked' ) %> <%= content_tag :li, link_to(t('view'), comments_path), ({ class: 'active' }) if controller.action_name.to_s == 'show' %> <%= content_tag :li, link_to(t('edit'), '#'), ({ class: 'active' }) if controller.action_name.to_s == 'edit' %> </ul>
Version data entries
38 entries across 38 versions & 1 rubygems